Instantly share code, notes, and snippets.

@sunjeet-khokhar sunjeet-khokhar/lambda.py Secret
Created Aug 6, 2018

Embed
What would you like to do?
# use lambda operator to define the key
output_list = sorted(output_list,key= lambda x: x.split()[1])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment