Construct a Python program to sum the items of a given list.
[3, 5, 6, 10]
def list_sum(input_list):
    """Computes the sum of the items of a given list."""
    output = 0
    for item in input_list:
        output += item
    return output

print(list_sum([3, 5, 6, 10]))