can this be implemented?
gagsl-py2 at yahoo.com.ar
Mon Jun 4 06:24:36 CEST 2007
En Sat, 02 Jun 2007 20:54:29 -0300, greenflame <alikakakhel at yahoo.com>
> When I first learned about programming, I started with BASIC, QBASIC
> to be more accurate. While I was at that stage, I learned about the
> INPUT command. I used it abundantly.
> Ok so now for the actual issue.
> I would like to implement something like the INPUT command from BASIC.
> I failed to find something on the python website documentation for
This BASIC program:
INPUT "Your name"; z$
PRINT "Hello, "; z$
would be this in Python:
name = raw_input("Your name? ")
print "Hello,", name
raw_input is a built-in function, see
More information about the Python-list