On 25 February 2010 01:34, rick <rdo...@cogeco.ca> wrote: > I'm trying to write a math quiz program that replicates an old book on > arithmetic. > > when it comes to summing a long column, I need to read the answer from > the user, one digit at a time. > > so, if the answer should be something like > > 14238.83 > > I would need to read the .03, then the .8, and so on. I figure all > strings, cast to int (well, for this example, float). Would this be > easier if I learned some GUI programming? Can it be done at all in > just console?
If you really want just console, you'll probably need to use curses: http://docs.python.org/library/curses.html HTH, benno _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor