wiley_pastebin

1.2.2 If Statements

Nov 13th, 2019
1,086
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.10 KB | None | 0 0
  1. > def factorial(n):
  2. >    if (n==1):
  3. >        return 1
  4. >    else:
  5. >        return n * factorial(n-1)
Advertisement
Add Comment
Please, Sign In to add comment