Talk:O'Reilly Introduction to Python/Section 10
< Talk:O'Reilly Introduction to Python
Jump to navigation
Jump to search
Revision as of 17:14, 15 July 2014 by 171.159.64.10 (talk) (does state capitals require a certain version of python to work?)
- 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