Challenge: Updating Dictionary
Uppgift
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
.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Avsnitt 4. Kapitel 14
single
Fråga AI
Fråga AI
Fråga vad du vill eller prova någon av de föreslagna frågorna för att starta vårt samtal
Awesome!
Completion rate improved to 1.67
Challenge: Updating Dictionary
Svep för att visa menyn
Uppgift
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
.
Lösning
Var allt tydligt?
Tack för dina kommentarer!
Awesome!
Completion rate improved to 1.67Avsnitt 4. Kapitel 14
single