This question is a little bit weird?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

This question is a little bit weird??

for <blank-1 > in range(0, 20,<blank-2> ): print(<blank-3> ) i got this above lines from [control structures/ for loops] last question i thought answer could be variable input. like blank -1 : any string ( a or b or c or ... z) blank -2: black has just 1 space, so any even numbers less than 9( 2, 4, 6, 8 ). if it is free space it could be even numbers less than 21 blank -3: any even numbers also less than 9 and inputed anystring in black -1 Am i wrong handling this question like this? or just fixed answer is problem?? please answer me

28th Oct 2016, 3:58 AM
Yi ee
Yi ee - avatar
1 Answer
+ 7
___ i in range(0, 20, _): print(_) The first blank is for. The second blank is 2 (if you put 4 or another even number, you won't get all the even values of the range, as asked). The third blank is i.
28th Oct 2016, 10:19 AM
Zen
Zen - avatar