Flow controls: Conditions · 16 / 22 Exercise Easy

Student grade evaluation

Objective

Create a Python program that calculates a student's grade based on an integer input. Request a number (x) from the user and respond as follows:

  • 10 - With honors
  • 9 - Outstanding
  • 7,8 - Very Good
  • 6 - Good
  • 5 - Pass
  • 0,4 - Fail
Input
10
Output
With honors

Open the editor in full screen: the statement on the left and your code, the output and the tests on the right.

Start exercise