Challenge: Calculate Grade Statistics
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.
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.
Рішення
Дякуємо за ваш відгук!
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
How do I calculate the average, highest, and lowest grades from a dictionary?
Can you show me an example of a student grades dictionary?
What should I do if some students have missing grades?
Чудово!
Completion показник покращився до 4.76
Challenge: Calculate Grade Statistics
Свайпніть щоб показати меню
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.
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.
Рішення
Дякуємо за ваш відгук!
single