From: "John Bokma" <[email protected]>

"Octavian Rasnita" <[email protected]> writes:

From: "Daniel Kluev" <[email protected]>
a = [1,2]
dict([a])

Yes, but

d = dict([a])

is not so nice as

$d = @a;

That will give you the number of elements in @a. What you (probably)
mean is %hash = @array;


Of course. Thank you for correction.

Octavian

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to