Join the conversation
720
Reply
Done
Reply
Sir Aammar, ap ki examples bhut mazzy ki hoti hn, like hansi aa jati hy sun kr or topic ki b achy sy samjh lag jati hy examples sy😁
Reply
#question 1
# def a(a,b):
# return a/b
# print(a(2,2))# x =lambda a,b: a/b
# print(x(2,2))
#question 2
# def x(a,b):
# return a*b
# print(x(4,4))# x=lambda a,b: a*b
# print(x(5,5))
#question 3
# def a(a,b):
# return a-b
# print(a(9,7))
#lambda function
# x =lambda a,b: a-b
# print(x(10,5))#question 4
def a(a,b):
return a/b
print((a(-8,-4)))x=lambda a,b:a/b
print(x(8,2))
Reply
3 ka fac hoga 3*2*1
Reply
it gives error
Reply
braces r missing
Reply
#Recursion function for even and odd
def even(n):
if n % 2 == 0:
return "even"
else:
return "odd"
print(even(45))
Reply
I had an interview on recursion last week at Stirling University, but unfortunately failed due to Poor PPT presentation, If possible please make one lecture on PPT presentation especially how to present codes in PPT. Thanks a lot for your efforts
Reply
thanks
Reply