#Function CAN CHANGE the list values #and changes will be PRESERVED outside of #the function #write a function make_zero that has #one parameter - integer #function changes the value of the #parameter to be 0 #write a function make_zero_list that #has one parameter - LIST of integers #the function changes all elements of list #to be zero #call both function in MAIN and observe the #result def make_zero(a): a=0 def make_zero_list(my_list): length=len(my_list) for i in range(length): my_list[i]=0 def main(): a = 5 a_list=[12, 3, 4, 5, -12] print("BEFORE FUNCTIONS") print("a = ", a) print("a_list=", a_list) make_zero(a) make_zero_list(a_list) print("AFTER FUNCTIONS") print("a = ", a) print("a_list=", a_list) main()