def total(numbers)sum_so_far for number in numberssum_so_far +number function definition return sum_so_far data [ data_sum total(dataprint(data_summain script we will revisit the idea of names being private to functions and illustrate it with simple example suppose we had script that defined the total(function and had three lines of the main program as shown