simple question about raw_input

Stian Husemoen stianh at ifi.uio.no
Mon Jan 17 02:08:39 EST 2000


TechSpood wrote:
>I tried this but it doesn't quite work right...can you tell me what I am
>doing wrong?
>
>name=raw_input ("What is your name?")
>choice1=raw_input "hello, %s, would you like to do something?" % name

this might help:
choice1=raw_input("hello, %s, would you like to do something?" % name)


-- 

Stian Husemoen <stianh>



More information about the Python-list mailing list