micropython/tests/basics/lambda1.py

5 lines
52 B
Python

# lambda
f = lambda x, y: x + 3 * y
print(f(3, 5))