fork download
  1. def fact(n):
  2. if n==1:
  3. return 1
  4. return n*fact(n-1)
  5.  
  6. print(fact(1))
  7.  
Success #stdin #stdout 0.1s 14200KB
stdin
Standard input is empty
stdout
1