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

pull/408/head^2
Joilson Cisne 4 years ago committed by GitHub
parent 0beb557e8f
commit 06b3ed2adc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save