I am having trouble with the following example used in a tutorial:
print "Halt !"
s = raw_input ("Who Goes there? ")
print "You may pass,", s
I run this and get the following:
Halt!
Who Goes there?
--thats it....if I hit enter again "You may pass,"
appears...
In the example after running you should get:
Halt!
Who Goes there? Josh
You may pass, Josh
I'm assuming s=Josh...but that is not included in the statement at all
I don't know how you put "Josh" in or how you got it to finish running w/o hitting enter after "Who goes there?"
What am I doing wrong?
thanks,
-xray-
Yahoo! FareChase - Search multiple travel sites in one click.
-- http://mail.python.org/mailman/listinfo/python-list