I'm creating a program in python that takes the hours, minutes, and seconds, and adds them all up as seconds. When I run the program I get back unexpected numbers, hundreds of characters long. I know it's very clunky, I'm still practicing python and making it more efficient, but here's my code
def to_secs(hours, minutes, seconds):
fin_time = (hours * 3600) + (minutes * 60) + seconds
return fin_time
total_hours = input("How many hours?")
total_minutes = input("How many minutes?")
total_seconds = input("How many seconds?")
total_time = to_secs(total_hours, total_minutes, total_seconds)
print(total_time)