[Tutor] user created lists

john moore moorejohnpaul at yahoo.com
Thu Apr 12 06:42:46 CEST 2012


Hello Pyhton World,

I'm new at this and was wondering how I create a number of user specified lists?

Example:

"How many list would you like to create?"
User inputs 5
creates five lists,
list1 []
list2 []
list3 []
list4 []
list5 []

I can create one with append, but I don't know how to loop it to create five different named list.. 


More information about the Tutor mailing list