summaryrefslogtreecommitdiff
path: root/Practical_C_Programming/Chapter_10_1.ipynb
diff options
context:
space:
mode:
Diffstat (limited to 'Practical_C_Programming/Chapter_10_1.ipynb')
-rw-r--r--Practical_C_Programming/Chapter_10_1.ipynb15
1 files changed, 2 insertions, 13 deletions
diff --git a/Practical_C_Programming/Chapter_10_1.ipynb b/Practical_C_Programming/Chapter_10_1.ipynb
index 56e12012..616dbfad 100644
--- a/Practical_C_Programming/Chapter_10_1.ipynb
+++ b/Practical_C_Programming/Chapter_10_1.ipynb
@@ -1,7 +1,7 @@
{
"metadata": {
"name": "",
- "signature": "sha256:55a41a15f53fea81d9fb349d875475d12f3934656e4b83a8ff10ced1f1672515"
+ "signature": "sha256:e0192e34ad6ee5352df14e6445eee01302e3e7af1b8414d8a9190c3936e04b7a"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -29,7 +29,6 @@
"collapsed": false,
"input": [
"\n",
- "# Variable declaration\n",
"data = []\n",
"twice = []\n",
"\n",
@@ -69,7 +68,6 @@
"input": [
"\n",
"\n",
- "# Variable declaration\n",
"data = []\n",
"twice = []\n",
"\n",
@@ -108,8 +106,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "# Variable declaration\n",
"BIG_NUMBER = 10 * 10\n",
"index = 1\n",
"\n",
@@ -147,7 +143,6 @@
"input": [
"\n",
"\n",
- "# Variable declaration\n",
"FIRST_PART = 7\n",
"LAST_PART = 5\n",
"ALL_PARTS = FIRST_PART + LAST_PART\n",
@@ -182,7 +177,6 @@
"input": [
"\n",
"\n",
- "# Calculation and result\n",
"for i in reversed (range(10)) :\n",
" print ('Hi there')"
],
@@ -221,7 +215,7 @@
"collapsed": false,
"input": [
"\n",
- "# Variable declaration\n",
+ "\n",
"size = 10\n",
"fudge = size - 2\n",
"\n",
@@ -255,7 +249,6 @@
"collapsed": false,
"input": [
"\n",
- "# Variable declaration\n",
"import sys\n",
"value = 1\n",
"\n",
@@ -291,8 +284,6 @@
"collapsed": false,
"input": [
"\n",
- "\n",
- "# Function declaration, calculation and result\n",
"def SQR (x) :\n",
" return x * x\n",
" \n",
@@ -335,7 +326,6 @@
"input": [
"\n",
"\n",
- "# Variable declaration\n",
"counter = 0\n",
"\n",
"# Function declaration, calculation and result\n",
@@ -381,7 +371,6 @@
"collapsed": false,
"input": [
"\n",
- "# Function declaration, calculation and result\n",
"def reciprocal (number) :\n",
" return 1 / number\n",
" \n",