# Find sum and average of List in Python # Python program to find the sum# and average of the list  L = [4, 5, 1, 2, 9, 7, 10, 8]    # variable to store the sum of # the listcount = 0  # Finding the sumfor i in L:    count += i      # divide the total elements by# number of elementsavg = count/len(L)  print("sum = ", count)print("average = ", avg)