[lang-ref] ( list_sum ) ( python )

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

    r = sum(items)

    assert r == 270