Fix loop bug in deck of cards exercise (#396)

This commit is contained in:
Joilson Cisne
2020-07-07 21:56:05 -03:00
committed by GitHub
parent d47546b98c
commit 572ad468f3

View File

@@ -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",