Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende 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.

Tarea

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.

Solución

¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 5
single

single

Pregunte a AI

expand

Pregunte a AI

ChatGPT

Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla

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

Desliza para mostrar el menú

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.

Tarea

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.

Solución

Switch to desktopCambia al escritorio para practicar en el mundo realContinúe desde donde se encuentra utilizando una de las siguientes opciones
¿Todo estuvo claro?

¿Cómo podemos mejorarlo?

¡Gracias por tus comentarios!

Sección 2. Capítulo 5
single

single

some-alt