Map Lambda Function In Python