Multi-dimensional list initialization

Ethan Furman ethan at stoneleaf.us
Fri Nov 9 22:49:48 CET 2012


Prasad, Ramit wrote:
> Dennis Lee Bieber wrote:
>> 	Of course, if one has a language that, for some reason, evaluates
>> right-to-left (APL, anyone), then
>>
>> 	x := x - x - x
>>
>> becomes
>>
>> 	x := x - 0
> 
> Is that not the same as x:=-x?

No, its the same as 'x = x'.

~Ethan~


More information about the Python-list mailing list