For question one, I feel most of those steps are unnecessary as you would get the same answer from some thing like:
list_ = [4.5,6,120.5,9,1,2] s = sum(list_) print((s/len(list_)))I tried to convert the already existing code into a functioning one. Although I didn't know that tiny little tidbit about modifying list while iterating over it :)