Lambda functions
Normally we define a function using the def keyword somewhere in the code and call it whenever we need to use it.
def sum(a,b):
return a + b
a = 1
b = 2
c = sum(a,b)
print(c)
Output : 3
Normally we define a function using the def keyword somewhere in the code and call it whenever we need to use it.
def sum(a,b):
return a + b
a = 1
b = 2
c = sum(a,b)
print(c)
Output : 3
Oops! Something went wrong while submitting the form