logo CodeStepByStep logo

get_grade

Language/Type: Python comments

Consider a function get_grade that accepts an integer representing a student's grade percentage in a course and returns that student's numerical course grade. The grade can be between 0.0 (failing) and 4.0 (perfect).

Which of the following are precondition(s) that are appropriate for this function? Check all that apply.
(order shuffled)

You must log in before you can solve this problem.

Log In

Need help?

Stuck on an exercise? Contact your TA or instructor.

If something seems wrong with our site, please

Is there a problem? Contact us.