Guido> I think I've seen the suggestion Guido> x = (y if y>z else z) Guido> :-) That's not bad, even though it looks Perlish :-) It has the advantage of looking like a list comprehension. I presume the parentheses would be mandatory.