EasyOutput prediction

break exits only the innermost loop

What does this code print?

for i in range(3):
    for j in range(3):
        if j == 1:
            break
    print(i)

← → arrow keys to navigate

Sign in to save your progress.