https://tutorial.eyehunts.com/python/nested-lambda-python-function-example-code/
Nested lambda Python function | Example code