Menu

[Solved]-Python Write Program Keeps Dictionary Keys Values Strings Names Students Course Grades Pro Q37258959

For Python write a program that keeps a dictionary in which bothkeys and values are strings—names of students and their coursegrades. Prompt the user of the program to add or remove students,to modify grades, or to print all grades. The printout should besorted by name and formatted like below:

run shonn below. Program same (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? A Enter the name of the student: Sarah Enter

run shonn below. Program same (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? A Enter the name of the student: Sarah Enter the student’s grade: A (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? A Enter the name of the student: Joe Enter the student’s grade: C (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? A Enter the name of the student: Bob Enter the student’s grade: B (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? A Enter the name of the student: Tester Enter the student’s grade: D (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? R What student do you want to remove? Tester (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? P Bob: B Joe: C Sarah: A (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? 0 Goodbye! Show transcribed image text run shonn below. Program same (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? A Enter the name of the student: Sarah Enter the student’s grade: A (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? A Enter the name of the student: Joe Enter the student’s grade: C (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? A Enter the name of the student: Bob Enter the student’s grade: B (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? A Enter the name of the student: Tester Enter the student’s grade: D (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? R What student do you want to remove? Tester (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? P Bob: B Joe: C Sarah: A (A)dd, (R)emove, (M)odify, (P)rint all, or (Q)uit? 0 Goodbye!

Expert Answer


Answer to For Python write a program that keeps a dictionary in which both keys and values are strings—names of students and the… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *