0
Guys i need help here. How can i type in the last code?(print("finished'))..When i skip a line the codes run
6 Antworten
+ 2
This isn't enough information: Which language?, What exactly?
+ 1
Here is the code;
i=1
while i<=5:
print(i)
i+=1
print ("Finished").
IDLE won't allow to skip a line before typing in the last code there(print("Finished")). If you skip the line it runs the already typed codes not giving you the chance to type the last code.
If you type in that code without skipping a line,it prints 'Finished' after every result,which is not the desired output.
If you don't indent it and click backspace,it brings in a syntax error once you run the code.
Is there a way through this?
0
Python language..