Oct-21-2017, 02:23 PM
(This post was last modified: Oct-21-2017, 02:45 PM by sparkz_alot.)
name = input("Enter Name: ") print("Hello there "+name) input("Press enter")I'm encountering an error with this command. When I get the "Enter name" prompt and I enter
Me (Or anything else)
I get this error:
Error:Traceback (most recent call last):
File "G:\Python Saves\Tests\Hello.py", line 1, in <module>
name = input("Enter Name: ")
File "<string>", line 1, in <module>
NameError: name 'Me' is not defined
However, if I enter"Me" instead, it works. I know it should work without "" but for some reason, it doesn't.
Can anyone help me out with this?
I am running on windows 10.