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 0beb557e8f
commit 06b3ed2adc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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