Question: Python 3***** 2- 8 pts: If the grading scale for a test is such that A = 90-100, B = 80-90, C = 70-79, and

Python 3*****

2- 8 pts: If the grading scale for a test is such that A = 90-100, B = 80-90, C = 70-79, and any number below 70 is F. Write a, called that takes one scalar input representing the grade of a student. Your function should determine the letter grade of the student based on the input. Example, if you run your program with grade = 85.6, the program should return the following: 85.6 , .

I have this so far:

def Lettergrade():

print('You scored',input' on the test, your letter grade is ')

if Lettergrade > 0 and Lettergrade < 70: print("F.") elif Lettergrade > 70 and Lettergrade <=80: print("C.") elif Lettergrade > 80 and Lettergrade <=90: print("B.") else: print("A.")

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!