Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def f(x, y):
- if x < y:
- return False
- if x == y:
- return 1
- if x > y:
- return f(x - 8, y) + f(x // 2, y)
- print(f(102, 43) * f(43, 5))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement