Question: 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
Get step-by-step solutions from verified subject matter experts
