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 timetomilitary. Run the test script. The script should halt because it got an unexpected answer.
Identify the Input
Which input caused the function to crash?
: AM
: PM
: AM
: AM
Answer: : PM
Check It
Find the source of this bug and remove it eg change timetomilitary 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
