Created
April 20, 2020 14:51
-
-
Save Deep18-03/07f93f001ce6cf7bb0caa907c0fa704c 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
# #lambda function | |
minus=lambda x,y:x-y | |
print(minus(3,4)) | |
print("\n") | |
a=[[1,14],[5,6],[2,18]] | |
a.sort(key=lambda x:x[1]) | |
print(a) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment