import math, decimal f = decimal.Decimal(math.factorial(20000))print(format(f, '.2e'))
Standard input is empty
1.82e+77337
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!