Well done!

You have completed Nested Loops Quiz!

Quiz Question 1 of 5

Examine the following mixed loop construct. What will be the output, and what does the reset of i to 0 after the inner loop signify in terms of loop control and output consistency?

numbers = [12, 5, 3]

i = 0
for n in numbers:
   while i < n:
       print(i, end = " ")
       i += 2
   i = 0
   print()

Choose the correct answer below:

Skip Quiz Review Instruction