circuitpython/tests/basics/closure-defargs.py
2014-03-26 23:17:44 +02:00

9 lines
96 B
Python

def f():
a = 1
def bar(b = 10, c = 20):
print(a + b + c)
bar()
print(f())