Challenge: Updating Dictionary
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 14
single
Spør AI
Spør AI
Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår
Awesome!
Completion rate improved to 1.67
Challenge: Updating Dictionary
Sveip for å vise menyen
Oppgave
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
Alt var klart?
Takk for tilbakemeldingene dine!
Seksjon 4. Kapittel 14
single