Ver originalacum=1while c: acum *= c c -= 1
Ver originaldef factorial(n): return n * factorial(n-1) if n > 1 else 1