Title: Lambda Functions
Slug: lambda_functions
Summary: Lambda Functions
Date: 2016-05-01 12:00
Category: Python
Tags: Basics
Authors: Chris Albon
In Python it is possible to string lambda functions together.
In [1]:
pipeline = [lambda x: x **2 - 1 + 5,
lambda x: x **20 - 2 + 3,
lambda x: x **200 - 1 + 4]
In [2]:
for f in pipeline:
print(f(3))