Talk:O'Reilly Introduction to Python/Section 10

From OpenHatch wiki
< Talk:O'Reilly Introduction to Python
Revision as of 17:14, 15 July 2014 by (talk) (does state capitals require a certain version of python to work?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  1. python

What is the capital of West Virginia? Test Traceback (most recent call last):

 File "", 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