Search the Community
Showing results for tags 'PythonNoob'.
Found 1 result
Hi does anyone know what this error message means or why I am getting it? C:\Users\Dean\Desktop>python helloworld.py Hello World What is your name?Dean Traceback (most recent call last): File "helloworld.py", line 2, in <module> myName = input("What is your name?") File "<string>", line 1, in <module> NameError: name 'Dean' is not defined I am using Notepad++ to do the editing and this is what I have typed in so far, pretty straight forward right..? print("Hello World") myName = input("What is your name?") print(myName) I have the .py file saved on my Desktop as you can see and there doesn't appear to be any error on my behalf. I've been following the video correctly (I think).