fork(11) download
  1. def fact(n):
  2. if n == 0:
  3. return 1
  4. else:
  5. return n * fact(n - 1)
  6.  
  7. if __name__ == '__main__':
  8. print(fact(20))
Success #stdin #stdout 0.02s 9136KB
stdin
Standard input is empty
stdout
2432902008176640000