Question: 1 | def letter _ grade ( score:float ) - > str: 2 | if score > = 9 0 . 0 : 3 |

1| def letter_grade(score:float)-> str:
2| if score >=90.0:
3| grade ='A'
4| elif score >=80.0:
5| grade ='B'
6| elif score >=70.0:
7| grade ='C'
8| elif score >=60.0:
9| grade ='D'
10| else:
11| grade ='F'
12| return grade
14| grade =78.50
15| answer = letter_grade(grade) trace table for Call to letter_grade()=>()

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!