Skip to content

Commit

Permalink
typo on hit() fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierian-Data committed Jan 14, 2016
1 parent dab5bd3 commit 34969ba
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@
" if player_hand.calc_val() <= 21:\n",
" player_hand.card_add(deck.deal())\n",
" \n",
" print \"Player hand is $s\" %player_hand\n",
" print \"Player hand is %s\" %player_hand\n",
" \n",
" if player_hand.calc_val() > 21:\n",
" result = 'Busted! '+ restart_phrase\n",
Expand Down Expand Up @@ -565,7 +565,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.10"
"version": "2.7.11"
}
},
"nbformat": 4,
Expand Down
13 changes: 2 additions & 11 deletions Jupyter (iPython) Notebooks Guide.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,8 @@
"\n",
"For a complete User Manual check out the [Bryn Mawr College Computer Science Guide](http://jupyter.cs.brynmawr.edu/hub/dblank/public/Jupyter%20Notebook%20Users%20Manual.ipynb).\n",
"\n",
"Most of the breakdown will actually occur in the video lecture corresponding to this Notebook. So please refer to either the video or the full User Manual linked above."
"Most of the breakdown will actually occur in the presentation corresponding to this Notebook. So please refer to either the presentation or the full User Manual linked above."
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -38,7 +29,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.10"
"version": "2.7.11"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions Milestone Project 2 Solution.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@
" if player_hand.calc_val() <= 21:\n",
" player_hand.card_add(deck.deal())\n",
" \n",
" print \"Player hand is $s\" %player_hand\n",
" print \"Player hand is %s\" %player_hand\n",
" \n",
" if player_hand.calc_val() > 21:\n",
" result = 'Busted! '+ restart_phrase\n",
Expand Down Expand Up @@ -565,7 +565,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.10"
"version": "2.7.11"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 34969ba

Please sign in to comment.