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:

  1. Input: 95

Display: student got Grade A

  1. Input: 80

Display: student got Grade C

  1. Input: 64

Display: student failed

Hint: Use else if (elif and logical operators)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!