romerlrl

Untitled

Jan 26th, 2021
958
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def fatorial_iter(n):
  2.     mul = 1
  3.     while n:
  4.         mul*=n
  5.         n-=1
  6.     return mul
  7.  
  8. k=7
  9. fatorial_iter(k)
  10. k-=1
  11. while k:
  12.     fatorial_iter(k)
  13.     k-=2
  14.  
  15. k=9    
  16. while k:
  17.     fatorial_iter(k)
  18.     k-=3
RAW Paste Data