Task

Create a function that reads a list of numbers, computes their average, and finds out how many numbers in that list are above the average.

Specifications

  1. The function must have the following signature analyze_numbers(numbers:list). Only the function definition should be provided. The function should not be called.
  2. You can assume that a list has at least one number and that each number is a float.
  3. The function must print the following output to the terminal: Average is <average> Number of elements above the average is <count>

Example output

An example output is given below:

Average is 17.7
Number of elements above the average is 16