Capgemni Questions Solved | Crack With Codewindow | Codewindow.in

Solution:

# cook your dish here
def f(a,b):
    if(b>a):
        return a+f(b,a)+b 
    return 5
print(f(2,5))

Output:

12

Also Checkout

Recent Posts

Leave a Comment

Your email address will not be published. Required fields are marked *