[Solved] Python wondering about user input


Use a list and a while loop.

data=[]

for x in xrange(100):
    data.append(raw_input("Your data: "))

If you don’t need to store the data that was entered, get rid of the list and process this data right in the loop.

1

solved Python wondering about user input