Solutions will be available when this assignment is resolved, or after a few failing attempts.
Complete the function
get_average so that it returns the average of all the numbers
You'll need to use a for loop to calculate the
total value of all the numbers added together.
Then divide the
total by the amount of items in your list to get your average.
Hint: You'll need a variable to keep track of the
total. You need to figure out whether that variable
belongs inside or outside the for loop.
test get average - Run Test
def test_get_average(): assert get_average([5, 10, 6]) == 7