question about input() and/or raw_input()

Terry Reedy tjreedy at udel.edu
Sat Jan 18 16:33:18 EST 2014


On 1/18/2014 1:30 PM, Roy Smith wrote:
> Pardon me for being cynical, but in the entire history of the universe,
> has anybody ever used input()/raw_input() for anything other than a
> homework problem?

Homework problems (and 'toy' programs, such as hangman), whether in a 
programming class or elsewhere, are one of the intended use cases of 
Python. How else would you get interactive input without the complexity 
of a gui?

-- 
Terry Jan Reedy




More information about the Python-list mailing list