Python Traceback (most recent call last)
You are using Python 2 for which the input() function tries to evaluate the expression entered. Because you enter a string, Python treats it as a name and tries to evaluate it. If there is no variable defined with that name you will get a NameError exception. To fix the problem, in Python 2, you can use raw_input(). This returns … Read more