+ 3
x = 0 while x <= 20: print (x) x += 2
4 Answers
+ 16
Indentation matters in python:
x = 0
while x <= 20:
print(x)
x += 2
+ 1
@Mayor2k as far as I am aware that should not break the code and the spaces make it easier to read. @Zen you need to indent everything after the colon for it to be in that count controlled loop.
0
ŠøŃŠæŠ¾Š»ŃŠ·ŃŠ¹ ŃŠ°Š±ŃŠ»ŃŃŠøŃ, Š“Š»Ń Š¾ŠæŃŠµŠ“ŠµŠ»ŠµŠ½ŠøŃ Š±Š»Š¾ŠŗŠ¾Š²
0
x = 0;
while (x < 20):
print(x)
x = x+5