summaryrefslogtreecommitdiff
path: root/Beginning_C_By_Ivon_Horton/chapter10.ipynb
diff options
context:
space:
mode:
authordebashisdeb2014-06-20 15:42:42 +0530
committerdebashisdeb2014-06-20 15:42:42 +0530
commit83c1bfceb1b681b4bb7253b47491be2d8b2014a1 (patch)
treef54eab21dd3d725d64a495fcd47c00d37abed004 /Beginning_C_By_Ivon_Horton/chapter10.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 'Beginning_C_By_Ivon_Horton/chapter10.ipynb')
-rw-r--r--Beginning_C_By_Ivon_Horton/chapter10.ipynb47
1 files changed, 11 insertions, 36 deletions
diff --git a/Beginning_C_By_Ivon_Horton/chapter10.ipynb b/Beginning_C_By_Ivon_Horton/chapter10.ipynb
index fd052668..89cc83ed 100644
--- a/Beginning_C_By_Ivon_Horton/chapter10.ipynb
+++ b/Beginning_C_By_Ivon_Horton/chapter10.ipynb
@@ -1,6 +1,7 @@
{
"metadata": {
- "name": ""
+ "name": "",
+ "signature": "sha256:67a316ecc3def0c634c382410d442033098ecf91839327bce17c0f2bf4424e27"
},
"nbformat": 3,
"nbformat_minor": 0,
@@ -27,9 +28,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Exercising formatted input\n",
- "\"\"\"\n",
+ "\n",
"\n",
"import sys\n",
"\n",
@@ -234,9 +233,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Characters in the format control string\n",
- "\"\"\"\n",
"\n",
"\n",
"value_count = 2\n",
@@ -309,11 +305,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Floating-Point Input\n",
- "note: the way it is given in textbook is not possible in python. Just showing a\n",
- "sample float input.\n",
- "\"\"\"\n",
+ "\n",
"\n",
"value_count = 3\n",
"print \"Enter: 3.14 3.14 3.14\"\n",
@@ -387,9 +379,6 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Reading hexadecimal and octal values\n",
- "\"\"\"\n",
"\n",
"print \"Enter three integer values: \"\n",
"n = 3\n",
@@ -459,9 +448,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Reading characters with scanf_s()\n",
- "\"\"\"\n",
+ "\n",
"\n",
"print \"Enter your first initial: \",\n",
"initial = raw_input()\n",
@@ -547,9 +534,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Reading a string with gets_s()\n",
- "\"\"\"\n",
+ "\n",
"\n",
"print \"Enter your first initial: \",\n",
"initial = raw_input()\n",
@@ -616,9 +601,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Reading and unreading characters\n",
- "\"\"\"\n",
+ "\n",
"\n",
"print \"Enter a sequence of integers and alphabetic names in a single line(separated by spaces): \",\n",
"text = raw_input()\n",
@@ -677,9 +660,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Ineger output variations\n",
- "\"\"\"\n",
+ "\n",
"\n",
"i = 15\n",
"j = 345\n",
@@ -721,9 +702,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Variations on a single integer\n",
- "\"\"\"\n",
+ "\n",
"\n",
"k = \"678\"\n",
"hex_k = int(k, 16)\n",
@@ -762,9 +741,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "Outputting floating-point values\n",
- "\"\"\"\n",
+ "\n",
"\n",
"fp1 = 345.678\n",
"fp2 = 1.234E6\n",
@@ -803,9 +780,7 @@
"cell_type": "code",
"collapsed": false,
"input": [
- "\"\"\"\n",
- "print printable characters\n",
- "\"\"\"\n",
+ "\n",
"\n",
"import string\n",
"\n",