"Chris Schiro" <cschiro...@gmail.com> wrote
I am completely new to programming aside from working with basic
many years
ago. I purchased a Python book for beginners so I could start from
scratch
which has been walking me through just fine until: writing a program
to
interact with user for feedback:
name=input("What is your name? ")
I have found that this line will return an error every time while
running
the completed program, unless I enter a number.
It sounds like you are using a Python v3 book but running Python v2.
Python v3 was a major change and not backward compatible with
Python 2.
As a beginner your best bet is probably to upgrade your
copy of Python to v3. The snag with that is that some
3rd party modules are not yet ported to v3, but hopefully,
by the time you need to use them, if ever, they will be!
HTH,
--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/
_______________________________________________
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor