Multi-dimensional list initialization

Ethan Furman ethan at stoneleaf.us
Fri Nov 9 16:49:48 EST 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