Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

student_ 1 dictionary declaration containing the name, age and grade student_2 dictionary declaration containing the name, age and grade student_ 3 dictionary declaration containing the

image text in transcribed
student_ 1 dictionary declaration containing the name, age and grade student_2 dictionary declaration containing the name, age and grade student_ 3 dictionary declaration containing the name, age and grade while loop presentation of the program (which are the print statements) goes here ask the user to choose between 1 and 3 and store the input into a variable convert that variable into an integer if statement checking if the user input 1 print student 1 's information by gccessing the values in the first dictionary print student_2's information by Jllyessing the values in the second dictionary print student_ 3 's information by accessing the values in the third dictionary elif statement checking if the user input 2 ask the user to pick a student's grade to modify (between 1 and 3 ) and store the input into a variable convert that variab1e into an integer ask the user to choose a new grade for the student and store it into a variable if the student's grade to modify is for the first student modify the first student's grade with the third user input e1if the student's grade to modify is for the second student modify the first student's grade with the third user input elif the student's grade to modify is for the third student modify the finst student's grade with the third user input e1se: else: print that the option the user picked is not valid get out of the while loop

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions