summaryrefslogtreecommitdiff
path: root/Let_us_C/chapter-10.ipynb
diff options
context:
space:
mode:
authordebashisdeb2014-06-20 15:42:42 +0530
committerdebashisdeb2014-06-20 15:42:42 +0530
commit83c1bfceb1b681b4bb7253b47491be2d8b2014a1 (patch)
treef54eab21dd3d725d64a495fcd47c00d37abed004 /Let_us_C/chapter-10.ipynb
parenta78126bbe4443e9526a64df9d8245c4af8843044 (diff)
downloadPython-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.gz
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.tar.bz2
Python-Textbook-Companions-83c1bfceb1b681b4bb7253b47491be2d8b2014a1.zip
removing problem statements
Diffstat (limited to 'Let_us_C/chapter-10.ipynb')
-rw-r--r--Let_us_C/chapter-10.ipynb16
1 files changed, 0 insertions, 16 deletions
diff --git a/Let_us_C/chapter-10.ipynb b/Let_us_C/chapter-10.ipynb
index db8bf067..93132187 100644
--- a/Let_us_C/chapter-10.ipynb
+++ b/Let_us_C/chapter-10.ipynb
@@ -25,8 +25,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to store data about 3 books that is their name\n",
- "(a string), price (a float) and number of pages (an int).'''\n",
"\n",
"#Variable declaration\n",
"name = []\n",
@@ -82,8 +80,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to store data about 3 books that is their name\n",
- "(a string), price (a float) and number of pages (an int).'''\n",
"\n",
"from collections import namedtuple\n",
"#Structure defintion\n",
@@ -143,8 +139,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to illustrate that elements of a structure,\n",
- "are always stored in contiguous memory locations'''\n",
"\n",
"from collections import namedtuple\n",
"#Structure defintion\n",
@@ -184,7 +178,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to show how to use an array of structures.'''\n",
"\n",
"from collections import namedtuple\n",
"#Structure defintion\n",
@@ -240,9 +233,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to illustrate that values of a structure variable can be\n",
"assigned to another structure variable of the same type\n",
- "using the assignment operator.'''\n",
"\n",
"from collections import namedtuple\n",
"#Structure defintion\n",
@@ -294,7 +285,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to illustrate nested structures at work.'''\n",
"\n",
"from collections import namedtuple\n",
"#Structure defintions\n",
@@ -334,8 +324,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to illustrate the method of passing individual structure elements to\n",
- "functions'''\n",
"\n",
"from collections import namedtuple\n",
"#Structure defintions\n",
@@ -375,8 +363,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''Program to illustrate the method of passing \n",
- "the entire structure variable to a function'''\n",
"\n",
"from collections import namedtuple\n",
"#Structure defintions\n",
@@ -416,7 +402,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''Program that demonstrates the usage of a structure pointer.'''\n",
"\n",
"from collections import namedtuple\n",
"#Structure defintions\n",
@@ -455,7 +440,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "'''Program that demonstrates passing address of a structure variable'''\n",
"\n",
"#function definition\n",
"def display (b):\n",