0
After i = i +1 i see a space( one line) but how to add dat space?
6 Réponses
0
press enter?
0
didnt work!
dat enter let to an infinite loop!
0
am using python 3.5 in windows.
0
i don't understand can you visualize it? (Put the code here)
0
its like
the example is
i=1
while i<=5:
print(i)
i = i+1
print("finished!")
my question how to get dat last line working bcoz am getting an error if i press enter 2 times aftr i=i+1
n if i dont press enter 2 time the last line is not getting excuted!
0
Did you indent using tab? Mine seems to work
Look:
i = 1
while i <= 5:
print(i)
i = i + 1
print("finished!")