Challenge: Simple Expense Analyzer
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 5
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Suggested prompts:
Can you explain this in simpler terms?
What are the main benefits or drawbacks?
Can you give me a real-world example?
Geweldig!
Completion tarief verbeterd naar 5.56
Challenge: Simple Expense Analyzer
Veeg om het menu te tonen
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 2. Hoofdstuk 5
single