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

bookChallenge: Simple Expense Analyzer

Tehtävä

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.

Ratkaisu

Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 5
single

single

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

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

Pyyhkäise näyttääksesi valikon

Tehtävä

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.

Ratkaisu

Switch to desktopVaihda työpöytään todellista harjoitusta vartenJatka siitä, missä olet käyttämällä jotakin alla olevista vaihtoehdoista
Oliko kaikki selvää?

Miten voimme parantaa sitä?

Kiitos palautteestasi!

Osio 2. Luku 5
single

single

some-alt