Well done!

You have completed Break and Continue Quiz!

Quiz Question 1 of 5

Consider the following nested loop. Which of the following correctly describes the output, and how would changing the condition while minute <= 59: to while minute < 60: affect the execution?

hour = 8
minute = 0
while hour <= 9:
   while minute <= 59:
       print(hour, ":", minute)
       minute += 30
   hour += 1
   minute = 0

Choose the correct answer below:

Skip Quiz Review Instruction