Skip to content

Commit

Permalink
Fix loop bug in deck of cards exercise (donnemartin#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
joilson-cisne authored Jul 8, 2020
1 parent 0beb557 commit 06b3ed2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"\n",
" def score(self):\n",
" total_value = 0\n",
" for card in card:\n",
" for card in self.cards:\n",
" total_value += card.value\n",
" return total_value\n",
"\n",
Expand Down

0 comments on commit 06b3ed2

Please sign in to comment.