+ 1

Can some one help me with this

Fill in the blanks to create a for loop that prints only the even values in the range: i in range(0, 20, 2): print(__) I'm not sure what's supposed to be on the __

25th Apr 2017, 4:05 AM
Gabriel
Gabriel - avatar
19 Respostas
+ 10
for i in range(0, 20, 2): print(i) # For your question
25th Apr 2017, 4:19 AM
Nithiwat
Nithiwat - avatar
+ 7
for i in range(1,10,2): print("i =",i) #i = 1 #i = 3 #i = 5 #i = 7 #i = 9 are output.
25th Apr 2017, 4:15 AM
Nithiwat
Nithiwat - avatar
+ 7
Sorry Re ans: for i in range(2,11,2): print("i =",i) #output i = 2 i = 4 i = 6 i = 8 i = 10
25th Apr 2017, 4:17 AM
Nithiwat
Nithiwat - avatar
+ 6
for i in range(start,stop,step): print()
25th Apr 2017, 4:09 AM
Nithiwat
Nithiwat - avatar
+ 3
for i in range(0, 20, 2): print(i)
26th Oct 2018, 7:33 AM
Houcem Eddine Aouissaoui
Houcem Eddine Aouissaoui - avatar
+ 3
for i in range(0, 20,2): print(i)
25th Jun 2019, 6:59 PM
Sudarshana Atapattu
Sudarshana Atapattu - avatar
+ 3
for i in range(0, 20, 2): print(i)
24th May 2021, 9:58 AM
Hayder Jawad Al-ATBEE
Hayder Jawad Al-ATBEE - avatar
+ 2
I mean: E.G: 5+2=__ __=7
25th Apr 2017, 4:53 AM
Gabriel
Gabriel - avatar
+ 2
Now I know: i
25th Apr 2017, 6:32 AM
Gabriel
Gabriel - avatar
+ 2
Fill in the blanks to create a list of numbers multiplied by 10 in the range of 5 to 9.
15th Jan 2021, 7:25 PM
Syed Fahad Ahmed
Syed Fahad Ahmed - avatar
+ 2
for 2 i
10th Feb 2021, 11:52 AM
Md Momin Uddin Hridoy
Md Momin Uddin Hridoy - avatar
+ 2
1. for 2. 2 3. i
27th Aug 2021, 2:18 PM
PRINCE KUMAR
PRINCE KUMAR - avatar
+ 2
for 2 i
14th Nov 2021, 5:31 PM
Alireza adavi
Alireza adavi - avatar
+ 2
for i in range(0, 20, 2): print(i) it's right answer
1st Nov 2022, 7:49 AM
Abhishek Maheshwari
Abhishek Maheshwari - avatar
+ 1
look on > https://www.sololearn.com/Play/JUMP_LINK__&&__Python__&&__JUMP_LINK > control structures > for loops > 3rd Question
25th Apr 2017, 4:58 AM
Gabriel
Gabriel - avatar
+ 1
I did not see any answer
29th Jun 2020, 2:59 PM
Faith Mundi
Faith Mundi - avatar
+ 1
can somebody explain to me why this outputs only even numbers between 0 and 20? I don't quite get why it does that.
2nd Aug 2020, 5:36 AM
Corbin Higley
+ 1
for i in range(start,stop,step): print()
23rd Oct 2021, 3:45 PM
Ngozichukwu Iheanyi
0
for i in range(0, 20, 2): print(i)
13th Jun 2023, 6:10 AM
Hamidreza shad
Hamidreza shad - avatar