summaryrefslogtreecommitdiff
path: root/C++_from_the_Ground/Chapter_9(1).ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'C++_from_the_Ground/Chapter_9(1).ipynb')
-rw-r--r--C++_from_the_Ground/Chapter_9(1).ipynb17
1 files changed, 5 insertions, 12 deletions
diff --git a/C++_from_the_Ground/Chapter_9(1).ipynb b/C++_from_the_Ground/Chapter_9(1).ipynb
index 9e6e1729..0f30e9a8 100644
--- a/C++_from_the_Ground/Chapter_9(1).ipynb
+++ b/C++_from_the_Ground/Chapter_9(1).ipynb
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
- "signature": "sha256:9ff1f12edc348acd1b1c3b16cc9a9556459332fb35a1337252165631b4cd82af"
+ "signature": "sha256:441f69a4dc3d0bee097a6151c42e10920892966ba4b3b82086ec3feb521e7da7"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -257,8 +257,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\n",
- "#Array of strings that correspond to the enumeration\n",
+ " \n",
"name=[\"Jonathan\",\"Golden Delicious\",\"Red Delicious\",\"Winesap\",\n",
" \"Cortland\",\"McIntosh\"]\n",
"\n",
@@ -300,9 +299,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\n",
- "\n",
- "#Variable declaration\n",
+ " \n",
"ch='j' #User input\n",
"while True:\n",
" #This statement turns off the 6th but.\n",
@@ -391,9 +388,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\n",
- "\n",
- "#function to display the bits\n",
+ " \n",
"def disp_binary(u):\n",
" t=128\n",
" while t:\n",
@@ -438,9 +433,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\n",
- "\n",
- "#unction to display the bits within a byte\n",
+ " \n",
"def disp_binary(u):\n",
" t=128\n",
" while t:\n",