I have been trying to run this python program using IDLE with Windows 7 and Python 2.7
myInput = input("Enter Something:")
print(myInput)
If i enter some integer value, it works fine. But when I enter some string I am getting following error.
Enter Something:qwer
Traceback (most recent call last): File "C:\Users\avmore\Desktop\hello.py", line 1, in myInput = input("Enter Something:") File "", line 1, in NameError: name 'qwer' is not defined
Can anyone please help?