On 11/2/2010 12:07 PM Glen Clark said...
sorry:

NumItems = int(input("How many Items: "))


Entries = []
for In in range(0,NumItems):
    Entries.append("")
        


for In in range(0,NumItems):
    Entries[In]=str(input("Enter name " + str(In+1) + ": "))


for In in range(0,NumItems):
    print(Entries[In])

confirmed = int(input("Are you happy with this? (y/n): ")

The line above (which would appear to set confirmed to an int) doesn't have matching parens, which causes an error to be trapped elsewhere.

Emile

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to