Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Leer Challenge: Calculate Grade Statistics | Organizing and Analyzing Grades
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
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.

Taak

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.

Oplossing

Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 2. Hoofdstuk 5
single

single

Vraag AI

expand

Vraag AI

ChatGPT

Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.

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

Veeg om het menu te tonen

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.

Taak

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.

Oplossing

Switch to desktopSchakel over naar desktop voor praktijkervaringGa verder vanaf waar je bent met een van de onderstaande opties
Was alles duidelijk?

Hoe kunnen we het verbeteren?

Bedankt voor je feedback!

Sectie 2. Hoofdstuk 5
single

single

some-alt