Break

Report a typo

Here's an (unfinished) while loop:

x = 0
while ___:
    print(x)
    x += 3

Sort the possible conditions for the loop, given below, by the amount of output the code will produce, from the least (top) to the most (bottom).

Put the items in the correct order
x % 2 != 0
x <= 8
x * 2 < 20
x <= 3
___

Create a free account to access the full topic