Answers for "syntaxerror: eol while scanning string literal"

1

syntaxerror: eol while scanning string literal

def getName():
    print("My name is Chandler Bing)
getName()

# Output
  File "c:\Projects\Tryouts\listindexerror.py", line 2
    return "My name is Chandler Bing
                                    ^
SyntaxError: EOL while scanning string literal
Posted by: Guest on September-08-2021
1

error EOL greeper

EOL- End of Line Error
Posted by: Guest on October-30-2020

Python Answers by Framework

Browse Popular Code Answers by Language