Implement a Python function that calculates and returns the letter grade based on the average of three scores. The function should evaluate the mean score to determine the appropriate grade according to the following scale:
A: 90 to 100
B: 80 to 89.99
C: 70 to 79.99
D: 60 to 69.99
F: below 60
Input/Output Requirements
Input:
The function calculate_grade(s1, s2, s3) will accept three parameters:
s1 (float): The score of the first assessment (0.0 to 100.0).
s2 (float): The score of the second assessment (0.0 to 100.0).
s3 (float): The score of the third assessment (0.0 to 100.0).
Output:
The function should return a string representing the letter grade ('A', 'B', 'C', 'D', or 'F') based on the mean of the three scores.
Implementation Instructions
Create a file named /app/solution.py.
Implement the function calculate_grade as described above.
Ensure that the function handles valid input according to the specified range (0 to 100) and rounds the average to two decimal places for accurate evaluation.
Your final solution in /app/solution.py should align with the defined structure and logic.