a1=[ i*i for x in range(1,10)]
print(a1)
not working
For loop in list
Change [i*i for x in range(1,10)]
to [i*i for i in range(1,10)]
a1=[ i*i for x in range(1,10)]
print(a1)
not working
Change [i*i for x in range(1,10)]
to [i*i for i in range(1,10)]