Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Aprende Challenge: Simple Expense Analyzer | Organizing and Summarizing Data
Practice
Projects
Quizzes & Challenges
Quizzes
Challenges
/
Python for Daily Tasks

bookChallenge: Simple Expense Analyzer

Tarea

Swipe to start coding

Write a Python script that uses built-in functions to analyze a list of expenses and prints summary statistics.

  • Calculate the sum of all values in the expenses list and store it in total.
  • Calculate the average of the values in the expenses list and store it in average.
  • Find the highest value in the expenses list and store it in highest.

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:

Can you explain this in simpler terms?

What are the main benefits or drawbacks?

Can you give me a real-world example?

close

bookChallenge: Simple Expense Analyzer

Desliza para mostrar el menú

Tarea

Swipe to start coding

Write a Python script that uses built-in functions to analyze a list of expenses and prints summary statistics.

  • Calculate the sum of all values in the expenses list and store it in total.
  • Calculate the average of the values in the expenses list and store it in average.
  • Find the highest value in the expenses list and store it in highest.

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