Skip to content

Commit

Permalink
Fix numbers in vote data for Elections OOP challenge
Browse files Browse the repository at this point in the history
  • Loading branch information
zstumgoren committed Apr 1, 2024
1 parent 1acac56 commit 03c87be
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions content/classes_and_oop/elections_oop_code_challenge.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,18 @@
},
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"id": "b4557040-ff63-448b-a083-474de0e17748",
"metadata": {},
"outputs": [],
"source": [
"votes = [\n",
" {'date': '2012-11-06', 'office': 'President', 'county': 'Fairfax', 'state': 'VA', 'name': 'Romney', 'party': 'GOP', 'votes': '1000'},\n",
" {'date': '2012-11-06', 'office': 'President', 'county': 'Fairfax', 'state': 'VA', 'name': 'Obama', 'party': 'DEM', 'votes': '2000'},\n",
" {'date': '2012-11-06', 'office': 'President', 'county': 'Shenandoah', 'state': 'VA', 'name': 'Romney', 'party': 'GOP', 'votes': '800'},\n",
" {'date': '2012-11-06', 'office': 'President', 'county': 'Shenandoah', 'state': 'VA', 'name': 'Obama', 'party': 'DEM', 'votes': '800'},\n",
" {'date': '2012-11-06', 'office': 'President', 'county': 'Lee', 'state': 'VA', 'name': 'Romney', 'party': 'GOP', 'votes': '900'},\n",
" {'date': '2012-11-06', 'office': 'President', 'county': 'Lee', 'state': 'VA', 'name': 'Obama', 'party': 'DEM', 'votes': '500'}\n",
" {'date': '2012-11-06', 'office': 'President', 'county': 'Fairfax', 'state': 'VA', 'name': 'Romney', 'party': 'GOP', 'votes': 1000},\n",
" {'date': '2012-11-06', 'office': 'President', 'county': 'Fairfax', 'state': 'VA', 'name': 'Obama', 'party': 'DEM', 'votes': 2000},\n",
" {'date': '2012-11-06', 'office': 'President', 'county': 'Shenandoah', 'state': 'VA', 'name': 'Romney', 'party': 'GOP', 'votes': 800},\n",
" {'date': '2012-11-06', 'office': 'President', 'county': 'Shenandoah', 'state': 'VA', 'name': 'Obama', 'party': 'DEM', 'votes': 800},\n",
" {'date': '2012-11-06', 'office': 'President', 'county': 'Lee', 'state': 'VA', 'name': 'Romney', 'party': 'GOP', 'votes': 900},\n",
" {'date': '2012-11-06', 'office': 'President', 'county': 'Lee', 'state': 'VA', 'name': 'Obama', 'party': 'DEM', 'votes': 500}\n",
"]"
]
},
Expand Down

0 comments on commit 03c87be

Please sign in to comment.