0
I need to to correct the code.pls help
while k<10 print (k) k=k+2 I know that there should be indentation at print but for the other problem, error is showing k value not defined.so any suggestions for solutions
1 Answer
+ 6
k = 0
while k < 10:
print(k)
k +=2
k should have a value before you start the while loop.