Challenge: Simple Expense Analyzer
Tâche
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
expenseslist and store it intotal. - Calculate the average of the values in the
expenseslist and store it inaverage. - Find the highest value in the
expenseslist and store it inhighest.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 5
single
Demandez à l'IA
Demandez à l'IA
Posez n'importe quelle question ou essayez l'une des questions suggérées pour commencer notre discussion
Génial!
Completion taux amélioré à 5.56
Challenge: Simple Expense Analyzer
Glissez pour afficher le menu
Tâche
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
expenseslist and store it intotal. - Calculate the average of the values in the
expenseslist and store it inaverage. - Find the highest value in the
expenseslist and store it inhighest.
Solution
Tout était clair ?
Merci pour vos commentaires !
Section 2. Chapitre 5
single