0

for i in(0,20_) print(i) why is the answer 2 for the blank space

loops

14th Sep 2016, 2:11 AM
obeng Clement Boadu
obeng Clement Boadu - avatar
2 ответов
+ 2
The last number is the step, ie by how much the loop variable will increase each loop. You only want even numbers, so you put 2.
14th Sep 2016, 8:16 AM
Zen
Zen - avatar
0
Because you only want even numbers
14th Sep 2016, 3:44 AM
PxlMazh
PxlMazh - avatar