+ 1

I Wright this and they Say break outside loop

i=0 while i<10: i+=1 print(i) if i==3: print('breaking') if i==5: print('breaking') break print(i)

29th Jul 2019, 8:52 AM
iren yeger
iren yeger - avatar
2 odpowiedzi
+ 3
I believe they are talking about the indentation of your ifs.
29th Jul 2019, 8:56 AM
Sonic
Sonic - avatar
+ 1
Thank you I solved it
29th Jul 2019, 8:58 AM
iren yeger
iren yeger - avatar