Construct a program in Python that computes the sum of 3rd and 7th elements of a list.
list = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
def sum_elements(list):
    Sum = list[2] + list[6]
    return Sum
print(sum_elements(list))