BetaUnder construction. Questions are being reviewed by teachers — enjoy the free practice in the meantime.
Python basics · Exercise
Average mark
Write a function average_mark(marks) that takes a list of exam marks and returns the average, rounded to 2 decimal places. Hint: Add up the list with sum(), then divide by how many items there are with len().