foo(a, b, lambda x: x+2)
foo2(a, b, foo): foo() # this is like js
def test(): def boo(x): x += 2 x += 3 return x something_else(boo, 33, "hi") test()