creating lists question?

spisatus spisatus at coqui.net
Tue Mar 23 16:13:08 EST 2004


I'm trying to create a series of list from a loop is this possible? Let me
give you an example:

list1 = ["aaa", "bbb", "ccc", "ddd", "eee"]

for element in list1:
  a = element
  a = []


I want a new list created for every element in list1, how can I do this.

Thanks!!
Spisatus






More information about the Python-list mailing list