Created
March 17, 2019 19:52
-
-
Save corneliouzbett/5102b59e781eda083d4ccbda5fbf6880 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment