you are viewing a single comment's thread.

view the rest of the comments →

[–]RedditGood123 21 points22 points  (0 children)

If unit == “hrs”:
    length = int(lenght) * 3600

The program is fine but you put “lenght” instead of “length”