Lambda Functions in python - Codanics