fork download
  1. import math
  2.  
  3.  
  4. def int(n):
  5. x=1
  6. for k in range(n):
  7. x = x*(k+1)
  8. return x
  9.  
  10. print(int(30))
  11.  
  12. print(math.factorial(30))
Success #stdin #stdout 0.02s 6384KB
stdin
Standard input is empty
stdout
265252859812191058636308480000000
265252859812191058636308480000000