[Tutor] names

Kent Johnson kent_johnson at skillsoft.com
Thu Sep 2 20:31:33 CEST 2004


If you want the user to be able to type in her name, use raw_input():

 >>> name = raw_input('What is your name? ')
What is your name? Kent
 >>> name
'Kent'


At 04:16 PM 8/30/2004 -0400, Diana Furr wrote:
>How do you get Python to let name=(anyone's name)
>I saw some posts on this subject but didn't find an answer.
>Thank you,
>Diana
>_______________________________________________
>Tutor maillist  -  Tutor at python.org
>http://mail.python.org/mailman/listinfo/tutor



More information about the Tutor mailing list