Given the list: my_list-[32, 45, 20, 6, 8, 12, 51, 12] and the following Python function: def do_sum(a_list): sum2- for
Posted: Fri May 20, 2022 12:56 pm
statement? print(do_sum(my_list[2:5]))
Given the list: my_list-[32, 45, 20, 6, 8, 12, 51, 12] and the following Python function: def do_sum(a_list): sum2- for element in a_list: sum2+-element 2 return sum2 what will be output by the following