Andrea Ambu wrote: > Alternativa: > > x = blah() > x = -67 if x < -67 else min(x, 67)
Questa è la più leggibile di tutte, cosa piuttosto importante. :-) -- Nicola Larosa - http://www.tekNico.net/ I'll play closed-source games because they're not very harmful, and it doesn't bother me when I ride an elevator with closed-source firmware, but I will not - ever, under any circumstances, for any reason - give Apple my money or my approval so that it can lock more people into its beautifully-decorated jails. - Eric Raymond, April 2013 _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python