can this be implemented?
alikakakhel at yahoo.com
Sun Jun 3 03:19:15 CEST 2007
On Jun 2, 5:05 pm, Dan Bishop <danb... at yahoo.com> wrote:
> On Jun 2, 6:54 pm, greenflame <alikakak... at yahoo.com> 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!
More information about the Python-list