A = X > Y ? X : Y
Skip Montanaro
skip at mojam.com
Wed Feb 9 14:29:58 EST 2000
Fredrik> umm. to be precise, he asked for something equivalent to "the
Fredrik> C command a = x > y ? x : y". I'd say "a = max(x, y)" is a
Fredrik> pretty good approximation ;-)
Dang! There goes that effbot using his whole brain again!
Skip Montanaro | http://www.mojam.com/
skip at mojam.com | http://www.musi-cal.com/
"Languages that change by catering to the tastes of non-users tend not to do
so well." - Doug Landauer
More information about the Python-list
mailing list