On Jun 2, 5:05 pm, Dan Bishop <[EMAIL PROTECTED]> wrote:
> 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.

Thanks a lot! That helped a lot!

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

Reply via email to