write the python code to print first 20 odd no pls as fast as u can
Answers
Answered by
3
its very easy.....See this..code
liszt = range(1,20) for i in liszt: if i%2!=0: print i
liszt = range(1,20) for i in liszt: if i%2!=0: print i
Answered by
0
for i in range(0,20):
if(i%2!=0)
print(i)
if(i%2!=0)
print(i)
Similar questions
Math,
8 months ago
Social Sciences,
8 months ago
Social Sciences,
8 months ago
History,
1 year ago
Science,
1 year ago
Biology,
1 year ago
Math,
1 year ago
Physics,
1 year ago
if(i%2!=0):
print(i)