Bottom Page

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Python time
#1
Hello

I have to write a python program that changes an input file like the following:

1 hour 20 minutes

30 minutes and 2 hours

into an output file like the following:

01:20:00

02:30:00

I have no idea what to do  Thankyou!
Quote
#2
https://python-forum.io/Forum-Tutorials
Feel like you're not getting the answers you want? Checkout the help/rules for things like what to include/not include in a post, how to use code tags, how to ask smart questions, and more.

Pro-tip - there's an inverse correlation between the number of lines of code posted and my enthusiasm for helping with a question :)
Quote

Top Page

Forum Jump:


Users browsing this thread: 1 Guest(s)