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