Question: Create a dictionary named student_grades with the following key-value pairs: Ahmed has a grade of 85, Mona has a grade of 92, and Ali
Create a dictionary named "student_grades" with the following key-value pairs: "Ahmed" has a grade of 85, "Mona" has a grade of 92, and "Ali" has a grade of 78. Perform two operations on the dictionary: 1) Add a new student named "Hossam" with a grade of 88. 2) Update Ali's grade to 95. Write the code to create the dictionary and perform these operations.
Step by Step Solution
3.44 Rating (163 Votes )
There are 3 Steps involved in it
Here is the code to create the dictionary studentgrades and per... View full answer
Get step-by-step solutions from verified subject matter experts
