Why is there this syntax error 'Multiple statements found while compiling a single statement' given when I run this code? Answer and help will be super appreciated for this python newbie here
Asked
Active
Viewed 3,699 times
-5

Edric
- 24,639
- 13
- 81
- 91

James Davies
- 1
- 1
- 1
-
2where is the code ? share the code please. @James Davies – Rohit Poudel Sep 17 '17 at 08:38
-
How are you even able to write so many instruction in terminal? I tried to mimic but as I tried to hit enter it executes the command. – DarKnight Sep 17 '17 at 09:44
1 Answers
-1
A quick look at google found me this:
SyntaxError: multiple statements found while compiling a single statement
Just dont add multiple statements into a python-idle line. Write a .py-file and then execute it.

dudakl
- 302
- 1
- 8