how to read input?

Moshe Zadka moshez at math.huji.ac.il
Tue Mar 21 17:44:37 CET 2000


On Tue, 21 Mar 2000, The Man wrote:

> 
> what is the equivalent python code for the C code:
> printf("whats yer name");
> scanf("%s", name)
> printf("%s", name)

print raw_input("whats_yer name"),

(With the customary 70% reduction in LOCS)
--
Moshe Zadka <mzadka at geocities.com>. 
http://www.oreilly.com/news/prescod_0300.html
http://www.linux.org.il -- we put the penguin in .com





More information about the Python-list mailing list