Is there any method to pass the multiple values or *args in the lambda function?

272 Views Asked by At

this is the simple lambda function which's take only single value as a parameter a=lambda x: x**2 a(2) output: 4

But i want to pass the multiple values in the lambda function like a(2,3,4,5) how it will work and what's the exact solution for this function?

0

There are 0 best solutions below