+ 1
[SOLVED] Why it doesn't work correctly??
3 Answers
+ 7
Indentation error. Here is the fixed code
i = 0
while 1!=2:
print(i)
i = i + 1
if i >= 5:
print("finished")
break
+ 1
"indentation error: unexpected indention"
read the error message. line 4 is indented, but shouldn't be indented.
+ 1
Ok thank you