Challenge: Updating Dictionary
Tehtävä
Swipe to start coding
You are given the dictionary students_grades
with student names as keys and exam grades as values. Add newly allowed students to the dictionary and update the grade for one student.
- Add the student
John
with a grade of75
. - Add the student
Alice
with a grade of92
. - Change the grade of the student
Peter
from54
to84
.
Ratkaisu
Oliko kaikki selvää?
Kiitos palautteestasi!
Osio 4. Luku 14