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

pull/408/head^2
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
1 changed files with 1 additions and 1 deletions

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