Question: Write a Python Program Display the grades: Input: Enter the marks of the student Condition: Grade A: Marks greater than 90 Grade B: Marks range
Write a Python Program
Display the grades:
Input:
Enter the marks of the student
Condition:
Grade A: Marks greater than 90
Grade B: Marks range from 81 to 90
Grade C: Marks range from 65 to 80
Fail: less than 65
Display the output.
Example:
- Input: 95
Display: student got Grade A
- Input: 80
Display: student got Grade C
- Input: 64
Display: student failed
Hint: Use else if (elif and logical operators)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
