Challenge: Updating Dictionary
Opgave
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
Johnwith a grade of75. - Add the student
Alicewith a grade of92. - Change the grade of the student
Peterfrom54to84.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 14
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Suggested prompts:
Opsummér dette kapitel
Explain code
Explain why doesn't solve task
Awesome!
Completion rate improved to 1.67
Challenge: Updating Dictionary
Stryg for at vise menuen
Opgave
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
Johnwith a grade of75. - Add the student
Alicewith a grade of92. - Change the grade of the student
Peterfrom54to84.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 14
single