Simple list.append() question

Bill Wilkinson bwilk_97 at yahoo.com
Mon Apr 24 18:19:20 EDT 2000


| One way is:
|
| x = map(lambda x:[], [[]]*3)
|
| although there has to be a prettier way...
|
| -- bjorn
|

l = [[][:]] * 3

:)







More information about the Python-list mailing list