fork download
  1. n = 1
  2. numero = 5
  3. for fatorial in range(numero, 1, -1):
  4. n = n * fatorial
  5. print(n)
  6.  
  7. #https://pt.stackoverflow.com/q/231355/101
Success #stdin #stdout 0.02s 9180KB
stdin
Standard input is empty
stdout
120