← Back to Lists
Question 119
Average To Two Decimals
Average To Two Decimals
The list scores holds three decimal marks. Work out their average with sum() divided by len(), keep it in a variable called average, and print it as Average: <value> showing exactly two decimal places through the :0.2f format in an f-string. No input is read.
Expected Output:
Average: 71.83= newline. The output ends with a newline — print one after the last line.
Hints2 available
Sign in to use hintsTopics:
Lists
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Ctrl+Space to expand shortcuts (pr, inp, def)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.