Very early stages of learning Python, my first language. And this little bit of code is coppied straight out of the book. Why do I get an error message?
name = input("Please tell me your name: ")
print("Hello, " + name + "!")
I enter my name, Eric, and get the following error:
File greeter.py, line 1, in ,<module>
name = input("please tell me your name: ")
file '<string>, line 1, in <module>
NameError: name 'Eric is not defined