[Tutor] help

Chris Schiro cschiro.gc at gmail.com
Thu Feb 24 05:15:39 CET 2011


Hi,

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. If I enter a numeric value
the program will continue on as written.

 

I have followed the code exactly per the book. What is the proper coding in
this scenario? 

 

Thank you,

 

Chris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/tutor/attachments/20110223/2b78219f/attachment.html>


More information about the Tutor mailing list