Python 3.4 - Lamdba

Lambda is a stand-alone function that allows for single-item functionality.

answer = lambda x: x*7
print(answer(5)) 

http://www.secnetix.de/olli/Python/lambda_functions.hawk

https://www.youtube.com/watch?v=Xe1tnfl4jDY

Comments

Popular posts from this blog

Pyhton 3.4 - Continue

Conversations Ongoing: Valuing Modernization in Early European History

Conversations Ongoing: A Bunch of Amateurs