how to read input?

Justin Sheehy dworkin at ccs.neu.edu
Tue Mar 21 10:47:44 EST 2000


"The Man" <shogan at iel.ie> writes:

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

name = raw_input("whats yer name")
print name

-Justin

 




More information about the Python-list mailing list