Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

please use any four of the following to answer these text fields: - return avera

ID: 3731877 • Letter: P

Question

please use any four of the following to answer these text fields:

- return average (marks)
- average (student_marks)
- return average (student_marks)
- marks
- len (marks)
- range(len(marks))
- range(len(student_marks))
- average (marks)
- average(range(len(student_marks)))
- return avg
- average(range(len(marks)))

Assume some student marks are stored in a Python list of integers called student_marks. The exact contents of student_marks is unknown but we assume that the list is non-empty. Complete the code below so that the function calculates and prints the average of all the student marks contained in student marks, by completing and callng a function to find the average of a list of integers # Calculate the ave rage of a 1iet of integers # Param : marks, a list of integers # Returns: an integer value def average (marks) avgu # find the average of the mark, in student marks print("The average mark is",

Explanation / Answer

def average(marks):
avg = sum(marks)//len(marks)
return avg

print("The average mark is",average(student_marks))