diff options
author | debashisdeb | 2014-06-20 15:42:42 +0530 |
---|---|---|
committer | debashisdeb | 2014-06-20 15:42:42 +0530 |
commit | 83c1bfceb1b681b4bb7253b47491be2d8b2014a1 (patch) | |
tree | f54eab21dd3d725d64a495fcd47c00d37abed004 /Let_us_C/chapter-1.ipynb | |
parent | a78126bbe4443e9526a64df9d8245c4af8843044 (diff) | |
download | Python-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-1.ipynb')
-rw-r--r-- | Let_us_C/chapter-1.ipynb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/Let_us_C/chapter-1.ipynb b/Let_us_C/chapter-1.ipynb index 19d3a98f..5c48f867 100644 --- a/Let_us_C/chapter-1.ipynb +++ b/Let_us_C/chapter-1.ipynb @@ -26,8 +26,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''calculate simple interest for a set of values representing principle,\n",
- "number of years and rate of interest.'''\n",
"\n",
"#Variable declaration\n",
"p = 1000 #principle\n",
@@ -64,8 +62,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''calculate simple interest by inputing principle,\n",
- "number of years and rate of interest from the user.'''\n",
"\n",
"#Input from the user\n",
"#p,n,r = raw_input(\"Enter values of p, n, r : \").split()\n",
@@ -103,7 +99,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''Just for fun. Author: Bozo'''\n",
"\n",
"#Input from the user\n",
"#num = raw_input(\"Enter a number : \")\n",
@@ -138,8 +133,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''Determine the hierarchy of operations and evaluate the following expression:\n",
- "i = 2 * 3 / 4 + 4 / 4 + 8 - 2 + 5 / 8'''\n",
"\n",
"#Calculation\n",
"i1 = 2 * 3 # operation *\n",
@@ -179,8 +172,6 @@ "cell_type": "code",
"collapsed": false,
"input": [
- "'''Determine the hierarchy of operations and evaluate the following expression:\n",
- "kk = 3 / 2 * 4 + 3 / 8 + 3'''\n",
"\n",
"#Calculation\n",
"kk1 = 3 / 2# operation /\n",
|