Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 1: Dictionary loop problem: write a python program that accept 5 student's IDs, names and GPA, store the data in a dictionary, and return
Question 1:
Dictionary loop problem: write a python program that accept 5 student's IDs, names and GPA, store the data in a dictionary, and return info of students who have highest and lowest GPA.
Question 2:
Translation problem: Create a dictionary to store the following 5 keys and values: {8:ate, 2:to, 2:too, 4:for, @:at, &:and}. Write a python program that accept a long text message from user and translate to abbreviations based on the keys and values from the dictionary.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started