can you provide me some basics examples of functions . (que form)
Didnt understand
Hello Anurag, See the ques can be of the form,
For ex., nth power of x :
npower = lambda x,n : x**n
For ex. tell the area of the triangle of the given height and base
area = lambda height,base : (base*height)/2
For ex. you need to compare two nos.
comparator = lambda x,y : x > y
There are some of the examples of lambda func. Now I hope it will be clear to you. If in case there will be any difficulty pls let me know I will try my best to help you out.
If it is clear then pls mark it as resolve and provide the rating/ feedback so that we can improve ourselves.
Thanks
Happy Coding !!