Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Вивчайте Challenge: Calculate Grade Statistics | Organizing and Analyzing Grades
Python for Teachers

bookChallenge: 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 grades dictionary.
  • Find the highest value in the grades dictionary.
  • Find the lowest value in the grades dictionary.
  • Print the average, highest, and lowest grades.

Рішення

Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 5
single

single

Запитати АІ

expand

Запитати АІ

ChatGPT

Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат

Suggested prompts:

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?

close

bookChallenge: 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 grades dictionary.
  • Find the highest value in the grades dictionary.
  • Find the lowest value in the grades dictionary.
  • Print the average, highest, and lowest grades.

Рішення

Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 5
single

single

some-alt