user
Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.

### Instruction:
Create a program that finds the total sum of all the elements in a list.

### Input:
sample_list = [5, 10, 15, 20, 25]

### Response:
assistant
def list_sum(sample_list):
    total = 0
    for num in sample_list:
        total += num
    return total

print(list_sum(sample_list))