what is the equivalent of scanf in python?

taashlo at sandia.gov taashlo at sandia.gov
Tue Mar 14 11:49:28 EST 2000


This is a FAQ:
 <http://www.python.org/doc/FAQ.html#4.33>

Tad

"Shaun Hogan" <shogan at iel.ie> writes:

> this may seem like a easy/strange question, but for the life of me i cant
> remember:
> what is the equivalent of scanf in python?
> what code would i need to ask a user to input 2 numbers
> then output the result?
> Bewilderdly yours
> Shaun



More information about the Python-list mailing list