diff --git a/Milestone Project 1 - Advanced Solution.ipynb b/Milestone Project 1 - Advanced Solution.ipynb index 0af4d2f..368f141 100644 --- a/Milestone Project 1 - Advanced Solution.ipynb +++ b/Milestone Project 1 - Advanced Solution.ipynb @@ -163,6 +163,10 @@ " print(\"Sorry, please input a number between 1-9.\")\n", " continue\n", "\n", + " if choice not in range(1,10):\n", + " print(\"Sorry, please input a number between 1-9.\")\n", + " continue\n", + "\n", " if board[choice] == \" \":\n", " board[choice] = mark\n", " break\n",