Hello,

The other day I needed to pack a dictionary, the value of each key was a list. 
In the code I was packing the list and the dictionary at the same time. First I 
tried something like this:

list = []
dict = {}
x = 1

dict['int'] = list.append(x)

The result was {'int': None}. Why is the value None?

Cheers,

T
-- 
Neu: GMX Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://portal.gmx.net/de/go/dsl02
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to