summaryrefslogtreecommitdiff
path: root/Beginning_C_By_Ivon_Horton/chapter11.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Beginning_C_By_Ivon_Horton/chapter11.ipynb')
-rw-r--r--Beginning_C_By_Ivon_Horton/chapter11.ipynb40
1 files changed, 9 insertions, 31 deletions
diff --git a/Beginning_C_By_Ivon_Horton/chapter11.ipynb b/Beginning_C_By_Ivon_Horton/chapter11.ipynb
index b85dcda1..8bed3984 100644
--- a/Beginning_C_By_Ivon_Horton/chapter11.ipynb
+++ b/Beginning_C_By_Ivon_Horton/chapter11.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:f5ae274b34f8832ebb766131ce16691aa9f05236c3dacd19d82ce9c6b22fe7d8"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -27,9 +28,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Exercising the horse\n",
- "\"\"\"\n",
+ "\n",
"\n",
"class Horse:\n",
" age = 0\n",
@@ -157,9 +156,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Exercising the horses\n",
- "\"\"\"\n",
+ "\n",
"\n",
"class Horse:\n",
" age = 0\n",
@@ -416,9 +413,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Pointing out the horses\n",
- "\"\"\"\n",
+ "\n",
"\n",
"class Horse:\n",
" age = 0\n",
@@ -586,9 +581,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Daisy chaining the horses\n",
- "\"\"\"\n",
+ "\n",
"\n",
"class Horse:\n",
" age = 0\n",
@@ -764,9 +757,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Daisy chaining the horses both ways\n",
- "\"\"\"\n",
+ "\n",
"\n",
"first = None\n",
"current = None\n",
@@ -1034,11 +1025,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Program 11.6, page no. 456\n",
"\n",
- "\"\"\"\n",
- "Basics of a family tree\n",
- "\"\"\"\n",
"\n",
"class Date:\n",
" day = 0\n",
@@ -1320,11 +1307,8 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Program 11.7, page no. 466\n",
"\n",
- "\"\"\"\n",
- "binary tree to sort integers\n",
- "\"\"\"\n",
+ "\n",
"class Node:\n",
" item = 0.0\n",
" count = 0\n",
@@ -1622,9 +1606,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "The operation of a union\n",
- "\"\"\"\n",
+ "\n",
"\n",
"def print_date(date):\n",
" if date.format == 0:\n",
@@ -1709,11 +1691,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "# Program 11.9, page no. 482\n",
"\n",
- "\"\"\"\n",
- "Generating a Bar chart\n",
- "\"\"\"\n",
"\n",
"import numpy\n",
"import sys\n",