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

New Ways of Conversing: The Kindle 2 and what I think it means

Huddled Masses Yearning: Teach the Controversy

Conversations Ongoing: A Bunch of Amateurs