Initializing a list of lists

ZeD ZeD.est.Deus at gmail.com
Sun Mar 19 16:36:56 CET 2006


Ciao, tkpmep at hotmail.com! Che stavi dicendo?

> Is there a simple way to create a list of independent lists?

N=3
x=[[0] for e in range(N)]

-- 
Up da 1 giorno, 3 ore, 43 minuti e 10 secondi




More information about the Python-list mailing list