On Jun 2, 6:54 pm, greenflame <[EMAIL PROTECTED]> wrote:
> First I should start with some introductory comments.
>
> 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
> beginners.

var = raw_input("Enter a value for var: ")

That gives you a string; if you want a number, convert it by using the
int or float constructor.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to