read from user

Pål Sindre Hiåsen sindrehi at c2i.net
Tue Nov 19 09:22:11 EST 2002


Hello!
Is there somthing i have to think about when i write code who ask for input
from user?
I tried this:
antall = input('some instruction ') #read a int
for i in range(10):
    L[i]= raw_input('write names ')    #read string

What is wrong??


 Sindre Hiåsen





More information about the Python-list mailing list