← Back to User Input
Question 2
Average Of Three Marks
Average Of Three Marks
Read three marks, one per line, as whole numbers, and print their average with exactly two decimals in the form Average: <value>. Input: three lines, each an integer, with no prompts. Use the :0.2f format inside an f-string rather than rounding by hand.
Expected Output:
Average: 85.00= newline. The output ends with a newline — print one after the last line.
Hints3 available
Sign in to use hintsTopics:
User Input
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.