Question: Use python 3.6 please Write a program which, given a start time and a time to add, calculates the final time (in hours, minutes and

Use python 3.6 please Use python 3.6 please Write a program which, given a start

Write a program which, given a start time and a time to add, calculates the final time (in hours, minutes and seconds). Name your program YourUserNameA104.py', e.g. dazh001A104.py. The times in this program use a 24 hour clock, e.g., 18:36:45 is 36 minutes and 45 seconds past 6pm. The first two lines of your program initialise the variables in the following way (you will need to change the values assigned to these variables when testing your program) start time "13:05:25" time to add"01:14:54" The final time should always be a time between 00:00:00 and 23:59:59. The start time, the time to be added and the final time always have the form "hh:mm:ss", i.e. a single digit hour, minute or second has a "O" in front of it. Look at the following example outputs using the completed program (using different variable values). Your program must give the correct output in the same format as the outputs in these examples. The lines of"symbols contain 35 characters Start time: 09:59:12 Seconds to add: 79491 (22:04:51) End time 08:04:03 Start time: 09:59:12 Seconds to add: 18030 (05:00:30) End time: 14 59: 42 Start time 23:32:59 Seconds to add: 1621 (00:27:01) End time: 00:00:00

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!