program9_1.pyWrite a program that stores current grades in a dictionary, withcourse codes as keys andpercent grades as values. Start with anempty dictionary and thenuse a while loop to enable input of course codes and percent gradesfrom the keyboard. Enter data forat least five courses. After entering the data, use afor loop andthe keys to show the current status of all courses. This same loop should include code that enables determination of theworst course and theaverage of all courses. Both of these findings should be printed when the loop ends. Theworst course should bedropped and reported. This being done, the program should useanother loop and theitems method to display the revised courses and grades and report therevised term average.Example Output
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here