I am a beginner in Python and would ask for a help.
I was searching for smaller version of code to calculate factorial . Found this one def fact(x): return x > 1 and x * fact(x - 1) or 1 But I don't really get how ( ....x > 1 and x * fact(x - 1)....) works . -- http://mail.python.org/mailman/listinfo/python-list