Whenever I press enter to start a new line, Python executes the print command... Any help? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Whenever I press enter to start a new line, Python executes the print command... Any help?

1st Oct 2016, 12:51 AM
Shauhin
Shauhin - avatar
4 Answers
0
What code are you trying to write? Print is usually a closing function unless it's, for example in a list, so what else would you be writing underneath it?
3rd Oct 2016, 8:28 PM
Michael Birtwistle
0
how did you enter the code print('please tell me your name's)
11th Oct 2016, 1:13 AM
Kenny Kkgenius Edwin
Kenny Kkgenius Edwin - avatar
0
you must use a text editer to write your code and save it using .py as extension. Now run it by IDLE and it is done.
20th Oct 2016, 10:22 AM
COAMI Akomagni
COAMI Akomagni - avatar
- 1
hi you should open the python shell
3rd Oct 2016, 7:01 PM
Ahmad