why does python execute line bye line as im coding?????????

Gus Tabares gus.tabares at verizon.net
Sat Jun 14 00:24:29 EDT 2003


Unless you have some sort of name function you are not showing, this will
never work.

Try something like this:

name = raw_input("What's your name? ")
print "Hello", name


HTH,
Gus

-----Original Message-----
From: python-list-admin at python.org
[mailto:python-list-admin at python.org]On Behalf Of L48R4T
Sent: Friday, June 13, 2003 11:52 PM
To: python-list at python.org
Subject: why does python execute line bye line as im coding?????????


im just going through the python for beginrers tutorial and all was cool
untill
i stated trying to do thing s like
input = name("whats your name")
print "hello  "name

the above example would execute after i hit return on the first line. not
giving me the chance to input the second line of code ???????????????????
any help wi=ould be a blessing thanks
simon
--
http://mail.python.org/mailman/listinfo/python-list






More information about the Python-list mailing list