Learn Python LAMBDA in 6 minutes!

70 Views
Published
# Lambda function = A small anonymous function for a one time use (throw away function)
# They take any number of arguments, but have only 1 expression
# Helps keep the namespace clean and is useful with higher-order functions
# 'sort()', 'map()', 'filter()', 'reduce()'
# lambda parameters: expression
Category
Bro Code
Tags
Python tutorial, python course, python programming
Be the first to comment