Question: Modify the program below to demonstrate the following: 1. Fix the below program that uses a function show_letter_grade to display a user's letter grade. 2.

Modify the program below to demonstrate the following: 1. Fix the below program that uses a function show_letter_grade to display a user's letter grade. 2. The user is prompted to enter their numeric grade in the function. C # Activity 2.7 # This program demonstrates keyword arguments. def show_letter_grade( ) : num_grade = int(input('Enter the numeric letter grade: ")) if (num_grade >= 90) : print ( ' Grade is an A' ) elif() : # Fix me print ( ' Grade is a B' ) elif( ) : # Fix me print ( 'Grade is a C' ) elif( ): # Fix me print ( 'Grade is a D' ) else: print ( ' Grade is an F' ) print (show_letter_grade) # Call the main function. main ( )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
