how does lambda work code example
Example 1: whats a lambda
x = lambda a, b, c, d, e, f: a + b + c + d + e + f
print(x(31231, 312, 312, 31, 12, 31))
Example 2: lambda function example
x = lambda a, b : a * b
print(x(5, 6))
x = lambda a, b, c, d, e, f: a + b + c + d + e + f
print(x(31231, 312, 312, 31, 12, 31))
x = lambda a, b : a * b
print(x(5, 6))