import mathfact = lambda f: int(round(math.exp(sum([math.log(a) for a in range(1,f+1)]))))print fact(6)
Standard input is empty
720
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!