Lambda function in python
# lambda functoins is also known as anonymous functions
# normal method to type a function
def mul(a, b):
print(a*b)
# lambda method to type a functios
mul = lambda x, y: print(x*y)
mul(3, 4)
# print(mul)
# lambda functoins is also known as anonymous functions
Comments
Post a Comment