4. Given a student information in a dictionaly format: stud_info = { 'stud1': ('name': 'Juan', 'id_no': 2020123), 'stud2': {'name': 'Maria', 'id_no': 2020124), 'stud3': ('name': 'Petra', 'id_no': 2020125) } Write a menu driven Phyton program that can a) Display the student information b) Change student information c) Add student in the dictionary d) Delete student in the dictionary

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter12: Adding Functionality To Your Classes
Section12.2: Providing Class Conversion Capabilities
Problem 6E
icon
Related questions
Question
Given a student information in a dictionary format: stud_info = { 'stud1': {'name': 'Juan', 'id_no': 2020123}, 'stud2': {'name': 'Maria', 'id_no': 2020124}, 'stud3': {'name': 'Petra', 'id_no': 2020125} } Write a menu driven Phyton program that can a) Display the student information b) Change student information c) Add student in the dictionary d) Delete student in the dictionary
4. Given a student information in a dictionaly format:
stud_info = {
'stud1': {'name': 'Juan', 'id_no': 2020123},
'stud2': {'name': 'Maria', 'id_no': 2020124),
'stud3': {'name': 'Petra', 'id_no': 2020125}
}
Write a menu driven Phyton program that can
a) Display the student information
b) Change student information
c) Add student in the dictionary
d) Delete student in the dictionary
Transcribed Image Text:4. Given a student information in a dictionaly format: stud_info = { 'stud1': {'name': 'Juan', 'id_no': 2020123}, 'stud2': {'name': 'Maria', 'id_no': 2020124), 'stud3': {'name': 'Petra', 'id_no': 2020125} } Write a menu driven Phyton program that can a) Display the student information b) Change student information c) Add student in the dictionary d) Delete student in the dictionary
Expert Solution
steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Unreferenced Objects
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr