Talk:O'Reilly Introduction to Python/Section 10
- python state_capitals.py
What is the capital of West Virginia? Test Traceback (most recent call last):
File "state_capitals.py", line 60, in <module> capital_guess = input("What is the capital of " + state + "? ") File "<string>", line 1, in <module>
NameError: name 'Test' is not defined