I am using Python 2.6 (PyCharm) and trying to run the following script:
print('Hiya Everybody!') print('What is your name?') # ask for their name myName = input() print('It is good to meet you, ' + myName)
But after being asked my name and entering my name I get...
Traceback (most recent call last): File ".../PycharmProjects/week2/MyFirstProgram.py", line 5, in <module> myName = input() File "<string>", line 1, in <module> NameError: name 'Dev' is not defined Process finished with exit code 1
Any ideas as to what may be causing this error? Thanks!