[lang-ref] ( function_definition ) ( python )

def test_function_definition():
    # func01(a, b)
    def func01(a, b):
        return a + b

    r = func01(3, 5)

    assert r == 8