-5

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 Error

Edric
  • 24,639
  • 13
  • 81
  • 91
James Davies
  • 1
  • 1
  • 1

1 Answers1

-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