I'm a newbie and I'm stumped...

Dwight GoldWinde Dwight at GoldWinde.com
Fri Jul 31 03:22:33 CEST 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