Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def prog(n):
- if n == 0:
- return 2
- else:
- return 2 * prog(n - 1) - 3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement