Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def f(x, y):
- if x == y:
- return 1
- if x > y or x == 15:
- return 0
- if x < y:
- return f(x + 1, y) + f(x + 2, y)
- print(f(3, 9) * f(9, 20))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement