0

Can someone help me with this ๐Ÿ˜ฎ

x=0 ____=<20__ ____(x) x+=2

19th Jul 2016, 6:26 AM
๐“‚๐’ถ๐“‡๐“‰๐’พ๐“ƒ๐“€๐’พ๐“‚
๐“‚๐’ถ๐“‡๐“‰๐’พ๐“ƒ๐“€๐’พ๐“‚ - avatar
5 Answers
+ 2
while x : print
19th Jul 2016, 7:43 AM
jj Fer
jj Fer - avatar
0
This looks like a while loop.. That keeps running until x is equal (or higher) than 20. The last row (x+=2) adds 2 to x before it starts over. Try: while x <= 20: print(x) x+=2
19th Jul 2016, 1:06 PM
Mathias Karlsson
Mathias Karlsson - avatar
0
x = 0 while x =< 20: print(x)
19th Jul 2016, 5:12 PM
Misha Hack
Misha Hack - avatar
0
kk thnks @jj fer
19th Jul 2016, 7:05 PM
๐“‚๐’ถ๐“‡๐“‰๐’พ๐“ƒ๐“€๐’พ๐“‚
๐“‚๐’ถ๐“‡๐“‰๐’พ๐“ƒ๐“€๐’พ๐“‚ - avatar
0
thanks so much mathias
19th Jul 2016, 7:06 PM
๐“‚๐’ถ๐“‡๐“‰๐’พ๐“ƒ๐“€๐’พ๐“‚
๐“‚๐’ถ๐“‡๐“‰๐’พ๐“ƒ๐“€๐’พ๐“‚ - avatar