awacke1 commited on
Commit
1c737af
·
1 Parent(s): ab34103

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ def generate_health_conditions():
17
  {"condition": "🔬 Hyperlipidemia", "emoji": "🔬", "spending": {"Minnesota": 20, "Florida": 50, "California": 70, "New York": 30, "Texas": 60}, "treatment": "Lifestyle changes and medication", "savings": "$700"},
18
  {"condition": "🦴 Back problems", "emoji": "🧍", "spending": {"Minnesota": 10, "Florida": 40,
19
 
20
- def calculate_total_spending(health_conditions):
21
  total_spending = 0
22
  for condition in health_conditions:
23
  for state, spending in condition["spending"].items():
 
17
  {"condition": "🔬 Hyperlipidemia", "emoji": "🔬", "spending": {"Minnesota": 20, "Florida": 50, "California": 70, "New York": 30, "Texas": 60}, "treatment": "Lifestyle changes and medication", "savings": "$700"},
18
  {"condition": "🦴 Back problems", "emoji": "🧍", "spending": {"Minnesota": 10, "Florida": 40,
19
 
20
+ def calculate_total_spending(health_conditions):
21
  total_spending = 0
22
  for condition in health_conditions:
23
  for state, spending in condition["spending"].items():