Syntax For Lambda Function In Python Using Key