Tested on:Python 2.7; Python 3
Prerequisites:Basic Raspberry setup step by step
0

Lambda functions

Lambda functions are a compact form of an ordinary function.

is equivalent to

This shortens the code, like in this software testing code snippet.

Links
Software testing with Mock: http://www.knight-of-pi.org/software-testing-mock-edge-values-or-physical-interactions

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.

Comment

Time limit is exhausted. Please reload CAPTCHA.