Question: Start with first function time _ to _ military. Run the test script. The script should halt because it got an unexpected answer. Identify the

Start with first function time_to_military. Run the test script. The script should halt because it got an unexpected answer.
Identify the Input
Which input caused the function to crash?
12:00 AM
12:00 PM
9:05 AM
10:30 AM
Answer: 12:00 PM
Check It!
Find the source of this bug and remove it (e.g. change time_to_military so that it no longer fails this test, nor any test before it). You are encouraged to use print statements and the techniques you have been taught to help you with this. You do not need to worry about any other bugs yet. It is okay if the test script stops on a later input.

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 Programming Questions!