Average of Three
Completed
Read three integers on one line and print their average with 2 decimal places.
Input
One line with three integers.
Output
The average, formatted with :.2f.
Example
Input
1 2 3
Output
2.00
Editor
Python
Hints
Add them and divide by 3.
Format with f"{value:.2f}".
Solution explanation
Parentheses make sure the sum happens before the division.
Show solution
a, b, c = map(int, input().split())
print(f"{(a + b + c) / 3:.2f}")