dxnge

tsk 8 (fnc)

Sep 20th, 2021
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. def A(a, b) -> int:
  2.     if b <= 12:
  3.         return A(a + 1, b + 1) + A(a * 2 - 3, b + 1)
  4.     return 1
  5. print(A(3,0))
Advertisement
Add Comment
Please, Sign In to add comment