8000 GitHub - Final-PythonFoundationHomework/living_expenses_data
[go: up one dir, main page]

Skip to content

Final-PythonFoundationHomework/living_expenses_data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

living expenses data

objective

This project is to calculate the living expenses of a person in a month.

data

{
    "rent": 1200, 
    "utilities": 300, 
    "transport": 450, 
    "food": 600, 
    "entertainment": 110, 
    "clothing": 220, 
    "health": 30, 
    "internet": 60, 
    "education": 200, 
    "other": 100,
}
  • rent: monthly rent
  • utilities: monthly utilities
  • transport: monthly transport
  • food: monthly food
  • entertainment: monthly entertainment
  • clothing: monthly clothing
  • health: monthly health
  • internet: monthly internet
  • education: monthly education
  • other: monthly other

functions

  • get_data: get the data from a json file
  • total_expenses: calculate the total expenses of a person in a month
  • average_expenses: calculate the average expenses of a person in a month
  • the_most_expensive: calculate the most expensive expenses of a person in a month
  • the_least_expensive: calculate the least expensive expenses of a person in a month

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0