03 Feb PMCA Sunday 14:00 Python Homework 21.01.31.
Question:
Given the list of student marks:
notes = [12, 04, 14, 11, 18, 13, 07, 10, 05, 09, 15, 08, 14, 16]
Write a function that takes in a list of arguments and then returns a list containing marks which are above average.
Name the function whatever you like and please don’t forget to call the function to check the output.
Explanation:
For e.g. in the list given in the question, the average of all the marks is 11.142, so the output of the function should create a list of marks which are above 11.142 . So the output should look something like [12,14,18,13,15,14,16]
Sorry, the comment form is closed at this time.