[lang-ref] ( array_sum ) ( python )

def test_array_sum():
    # sum
    items = [30, 40, 80, 20, 90, 10]

    r = sum(items)

    assert r == 270