fork download
  1. def factorial(int n)
  2. while n :
  3. fact = fact * n
  4. n = n - 1
  5. return n
  6.  
  7. count = int(raw_input())
  8. while count:
  9. n = int(raw_input())
  10. m = int(raw_input())
  11. fact = 1
  12. print "",factorial(n)
  13. count = count-1
  14. #end of program
Runtime error #stdin #stdout 0.02s 5760KB
stdin
Standard input is empty
stdout
Standard output is empty