Write average(marks) that returns the average rounded to 2 decimals. Return 0 for an empty list.
average([70, 80, 90]) → 80
average([]) → 0
Submit runs 5 tests, including hidden edge cases.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.