4 Answers
+ 1
I'm not sure what you mean by this.. It's normal for a .py file to end in a empty line.
+ 1
if you write in a shell instead of an editor i dont think you can take back mistakes.
0
Hello mate, thanks for consideration to my question, I mean that I wrote codes in the python shell and line 11th I did mistake syntax error, should I write codes again from beginning ? Or is it possible to delete my last mistakes in order to continue my coding? I hope you understand what I mean, coz I am new to python.
0
you should use the editor in idle, writing code in shell can be frustrating. you can activate editor mode in one of the dropdowns in the idle window