2013/9/19 Giovanni Porcari <giovanni.porc...@softwell.it>

> Versione con soli operatori logici :
> result = x>0 and (((x>67) and 67) or x)  or (((x<-67) and -67) or x)
> Lo so che come leggibilità non è il massimo ;)
>

Ma è un bell'esercizio!

Grande.


-- 
http://beri.it/ - Un blog
http://beri.it/i-miei-libri/ - Qualche libro
_______________________________________________
Python mailing list
Python@lists.python.it
http://lists.python.it/mailman/listinfo/python

Rispondere a