2013/9/19 Giovanni Porcari <giovanni.porc...@softwell.it>: > result = x>0 and (((x>67) and 67) or x) or (((x<-67) and -67) or x)
2013/9/19 Andrea Ambu <andrea...@gmail.com>: > x = -67 if x < -67 else min(x, 67) entrambe hanno prestazioni molto vicine a quella di Diego. _______________________________________________ Python mailing list Python@lists.python.it http://lists.python.it/mailman/listinfo/python