“NameError: name ” is not defined” after user input in Python
I’m completely lost as to why this isn’t working. Should work precisely, right? UserName = input("Please enter your name: ") print ("Hello Mr. " + UserName) raw_input("<Press Enter to quit.>") I get this exception: Traceback (most recent call last): File "Test1.py", line 1, in <module> UserName = input("Please enter your name: ") File "<string>", line … Read more