Update deck_of_cards.ipynb
parent
5392929521
commit
d353ef8c75
|
@ -109,7 +109,7 @@
|
||||||
" if 1 <= new_value <= 13:\n",
|
" if 1 <= new_value <= 13:\n",
|
||||||
" self._value = new_value\n",
|
" self._value = new_value\n",
|
||||||
" else:\n",
|
" else:\n",
|
||||||
" raise ValueError('Invalid card value: {}'.format(new_value))\n",
|
" raise ValueError(f'Invalid card value: {new_value}')\n",
|
||||||
"\n",
|
"\n",
|
||||||
"\n",
|
"\n",
|
||||||
"class Hand(object):\n",
|
"class Hand(object):\n",
|
||||||
|
|
Loading…
Reference in New Issue