Class Results
Python
15 pts
Class Results
The list scores holds test results for a class in Keren.
- Create a list
passedwith every score that is 50 or more, in the same order. - Create
average: the average of all scores, rounded to 1 decimal place withround(). - Create
highest: the biggest score.
Use a loop to build passed. You may use sum(), len() and max().
Checklist
- Build the list
passed. - Create
average. - Create
highest.
🔑 Solution
If you view the solution before passing, you earn half points for this exercise. You still need to type it and press Check to finish.
How it works, step by step
Point at a step to highlight its lines. Type the solution yourself and press Check answer to finish.
