Menu
×
×
Correct!
Exercise:Print a message once the condition is false.
i = 1
while i < 6:
print(i)
i += 1
else:
print("i is no longer less than 6")
Not CorrectClick here to try again. Correct!Next ❯i = 1 while i < 6: print(i) i += 1print("i is no longer less than 6") |