Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # A lambda function can take any number of arguments, but can only have one expression
- x = lamda a,b,c : (a + b) * c
- print(x(1,2,3))
- # output = 9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement