Abschnitt 2. Kapitel 5
single
Challenge: Calculate Grade Statistics
Swipe um das Menü anzuzeigen
Teachers often need to summarize class performance. In this challenge, you'll calculate the average, highest, and lowest grades from a dictionary of student grades.
Aufgabe
Swipe to start coding
Write a Python script that takes a dictionary of student grades and prints the average, highest, and lowest grades.
- Calculate the average of all the values in the
gradesdictionary. - Find the highest value in the
gradesdictionary. - Find the lowest value in the
gradesdictionary. - Print the average, highest, and lowest grades.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 2. Kapitel 5
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen