Skip to content

Commit 34969ba

Browse files
committed
typo on hit() fixed
1 parent dab5bd3 commit 34969ba

3 files changed

+6
-15
lines changed

.ipynb_checkpoints/Milestone Project 2 Solution-checkpoint.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312
" if player_hand.calc_val() <= 21:\n",
313313
" player_hand.card_add(deck.deal())\n",
314314
" \n",
315-
" print \"Player hand is $s\" %player_hand\n",
315+
" print \"Player hand is %s\" %player_hand\n",
316316
" \n",
317317
" if player_hand.calc_val() > 21:\n",
318318
" result = 'Busted! '+ restart_phrase\n",
@@ -565,7 +565,7 @@
565565
"name": "python",
566566
"nbconvert_exporter": "python",
567567
"pygments_lexer": "ipython2",
568-
"version": "2.7.10"
568+
"version": "2.7.11"
569569
}
570570
},
571571
"nbformat": 4,

Jupyter (iPython) Notebooks Guide.ipynb

+2-11
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,8 @@
99
"\n",
1010
"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",
1111
"\n",
12-
"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."
12+
"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."
1313
]
14-
},
15-
{
16-
"cell_type": "code",
17-
"execution_count": null,
18-
"metadata": {
19-
"collapsed": true
20-
},
21-
"outputs": [],
22-
"source": []
2314
}
2415
],
2516
"metadata": {
@@ -38,7 +29,7 @@
3829
"name": "python",
3930
"nbconvert_exporter": "python",
4031
"pygments_lexer": "ipython2",
41-
"version": "2.7.10"
32+
"version": "2.7.11"
4233
}
4334
},
4435
"nbformat": 4,

Milestone Project 2 Solution.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
312312
" if player_hand.calc_val() <= 21:\n",
313313
" player_hand.card_add(deck.deal())\n",
314314
" \n",
315-
" print \"Player hand is $s\" %player_hand\n",
315+
" print \"Player hand is %s\" %player_hand\n",
316316
" \n",
317317
" if player_hand.calc_val() > 21:\n",
318318
" result = 'Busted! '+ restart_phrase\n",
@@ -565,7 +565,7 @@
565565
"name": "python",
566566
"nbconvert_exporter": "python",
567567
"pygments_lexer": "ipython2",
568-
"version": "2.7.10"
568+
"version": "2.7.11"
569569
}
570570
},
571571
"nbformat": 4,

0 commit comments

Comments
 (0)