[Tutor] user created lists
Mark Lawrence
breamoreboy at yahoo.co.uk
Thu Apr 12 16:37:32 CEST 2012
On 12/04/2012 05:42, john moore wrote:
> Hello Pyhton World,
Hello Hojn Rooem and welcome :)
>
> I'm new at this and was wondering how I create a number of user specified lists?
Why? Tell us what you're trying to achieve and we may well come up with
a better solution.
>
> 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..
> _______________________________________________
> Tutor maillist - Tutor at python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tutor
>
--
Cheers.
Mark Lawrence.
More information about the Tutor
mailing list