how to remove indentation error in this program? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to remove indentation error in this program?

x=list[range(0,100,2)] for a in x: print(a*2)

14th Jul 2016, 8:10 AM
Shyam Sundar
Shyam Sundar - avatar
2 Answers
+ 4
give 4 spaces in the line after the 'for' loop x=list[range(0,100,2)] for a in x: print(a*2)
14th Jul 2016, 8:22 AM
sundar
sundar - avatar
0
x=list[range(0,100,2)] for a in x: print(a*2)
14th Jul 2016, 9:00 AM
Ashwani