I'm a newbie and I'm stumped...
Dwight GoldWinde
Dwight at GoldWinde.com
Thu Jul 30 21:22:33 EDT 2015
Please help.
I am running Python 3.4 on my Mac mini, OS X 10.10.2, using Coderunner 2 as
my editor.
Here¹s the code:
#!/usr/bin/env python3
word = (input('Enter a word ))
When running this inside of Coderunner, I get the follow error, after
entering the word serendipity¹:
Enter a word serendipity
Traceback (most recent call last):
File "test short.py", line 2, in <module>
word = (input('Enter a word '))
File "<string>", line 1, in <module>
NameError: name 'serendipity' is not defined
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20150731/2ff090ba/attachment.html>
More information about the Python-list
mailing list