Curious assignment behaviour

Rainer Deyke root at rainerdeyke.com
Thu Oct 18 19:37:53 CEST 2001


"David C. Ullrich" <ullrich at math.okstate.edu> wrote in message
news:3bcdbb39.1987133892 at news...
> What if you already have x = 42 and y = 24, and you
> say "let x = y" ? Does that set x to 24 (yes) or
> does it set y to 42?

It means "consider the case 42 = 24".


--
Rainer Deyke (root at rainerdeyke.com)
Shareware computer games           -           http://rainerdeyke.com
"In ihren Reihen zu stehen heisst unter Feinden zu kaempfen" - Abigor





More information about the Python-list mailing list