0

В чем ошибка ?

В чем ошибка? никак не могу понять https://code.sololearn.com/c0ax3lkX5qUi/?ref=app

26th Apr 2018, 4:20 PM
Eegun
Eegun - avatar
1 Odpowiedź
+ 1
the if statement that contains the break needs to be tabbed into the while loop. May I also suggest using either tab or four spaces instead of only one space. It is just the common way to do it. x = 2 y = 5 print (2 == 5) print (2 <= 5) print (2 != 5) print (x + 6) if 10 < 5: print ("Spam") if 10 > 5: print ("Eggs") if 10 > 5 or 5 > 10: print (2) else: print (0) if 20 > 9 and 20 < 9: print(10) else: print (2) i = 10 while i <=1000: print (i) i = i + 10 if i <=400: print ("breaking") break print ("end")
26th Apr 2018, 4:36 PM
synorax
synorax - avatar