I am writing a simple program in Python like this:
print "Enter 100 words:" 1 = raw_input ("word 1") 2 = raw_input ("word 2") I do not type raw_input 100 times Fan
Please enter a solution
print "100 words:" word = [ ] Create a list for X in #Category (100): # Loop through all the numbers from 0 to 100 words. Ask for the word # (raw_input ("word {}". Format (x + 1)), # then add it to the list it will only create a list, then add it 100 times .
No comments:
Post a Comment