Update deck_of_cards.ipynb

pull/680/head
Vardhaman 2022-06-07 09:37:23 +05:30 committed by GitHub
parent 5392929521
commit d353ef8c75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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