Farz0l1x

Untitled

Oct 28th, 2023
890
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.17 KB | None | 0 0
  1. def f(x, y):
  2.     if y < x and x == 13:
  3.         return 0
  4.     if x == y:
  5.         return 1
  6.     if x < y:
  7.         return f(x + 1, y) + f(x + 5, y) + f(x * 2, y)
  8. print(f(7, 25))
Advertisement
Add Comment
Please, Sign In to add comment