How on Factorial

Geobird a1chandan at gmail.com
Wed Oct 27 10:57:19 CEST 2010


@ Ulrich : Tx
@ Rebert : Appreciate your interpretation.
           It  made  me think about ternary operation . Say
 >>> (a > b) and x or y

   Are all ternary operations prone to ...( in your words )
   > It exploits short-circuit evaluation
   >(http://en.wikipedia.org/wiki/Short-circuit_evaluation ). This is
   >stunt coding / code golf; no one should actually write factorial
like
   >that.




More information about the Python-list mailing list