Skip to content

Commit

Permalink
Merge pull request #17 from prezha/patch-5
Browse files Browse the repository at this point in the history
Update Milestone Project 1 - Advanced Solution.ipynb
  • Loading branch information
jmportilla authored Apr 11, 2017
2 parents 94ff6b6 + 4c3f1c7 commit fd509c8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Milestone Project 1 - Advanced Solution.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit fd509c8

Please sign in to comment.