dxnge

Tsk 7

Sep 20th, 2021
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.16 KB | None | 0 0
  1. def A(a, b) -> int:
  2.     if a > b:
  3.         return 0
  4.     if a == b:
  5.         return 1
  6.     if a < b:
  7.         return A(a+1, b) + A(a+11, b)
  8.  
  9.  
  10. print(A(25, 51))
Advertisement
Add Comment
Please, Sign In to add comment