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

Python 3.4 - Caesar Cipher

UML - Use Case Diagram