[Tutor] why not?

Gregor Lingl glingl@aon.at
Tue, 20 Aug 2002 12:22:11 +0200


python schrieb:

>one reason it may not work is because you have a space or two in this line:
>name = raw_input ("what is your name?")
>try it like this:
>name = raw_input("what is your name?")
>
>that should do it
>
>best of luck,
>brett
>  
>
If you had tried it out yourself:

 >>> name = raw_input ("what is your name? ")
what is your name? python
 >>> name
'python'
 >>> name = raw_input        (   "what is your name? "    )
what is your name? brett?
 >>> name
'brett?'
 >>>

you would have seen that this works and cannot be the
cause of the error(s)

if you are not sure about something but only think maybe
its so or so .... then
try it out! ....   ans you will know!!

gregor