0

Guys i need help here. How can i type in the last code?(print("finished'))..When i skip a line the codes run

18th Jun 2018, 11:47 AM
Benard Watta
Benard Watta - avatar
6 Antworten
+ 2
This isn't enough information: Which language?, What exactly?
18th Jun 2018, 11:59 AM
Michael55555
Michael55555 - avatar
+ 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?
18th Jun 2018, 11:59 AM
Benard Watta
Benard Watta - avatar
0
Python language..
18th Jun 2018, 12:00 PM
Benard Watta
Benard Watta - avatar
18th Jun 2018, 1:05 PM
Sahil Danayak
Sahil Danayak - avatar