Why did Quora choose Python for its development?

Octavian Rasnita orasnita at gmail.com
Tue May 24 04:08:17 EDT 2011


From: "John Bokma" <john at castleamber.com>

> "Octavian Rasnita" <orasnita at gmail.com> writes:
> 
>> From: "Daniel Kluev" <dan.kluev at gmail.com>
>> 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




More information about the Python-list mailing list