summaryrefslogtreecommitdiff
path: root/Computer_Concepts_and_C_Programming_by_R.Rajaram/chapter8_5.ipynb
diff options
context:
space:
mode:
authorhardythe12015-06-11 17:31:11 +0530
committerhardythe12015-06-11 17:31:11 +0530
commit79c59acc7af08ede23167b8455de4b716f77601f (patch)
tree2d6ff34b6f131d2671e4c6b798f210b3cb1d4ac7 /Computer_Concepts_and_C_Programming_by_R.Rajaram/chapter8_5.ipynb
parentdf60071cf1d1c18822d34f943ab8f412a8946b69 (diff)
downloadPython-Textbook-Companions-79c59acc7af08ede23167b8455de4b716f77601f.tar.gz
Python-Textbook-Companions-79c59acc7af08ede23167b8455de4b716f77601f.tar.bz2
Python-Textbook-Companions-79c59acc7af08ede23167b8455de4b716f77601f.zip
add books
Diffstat (limited to 'Computer_Concepts_and_C_Programming_by_R.Rajaram/chapter8_5.ipynb')
-rwxr-xr-xComputer_Concepts_and_C_Programming_by_R.Rajaram/chapter8_5.ipynb139
1 files changed, 139 insertions, 0 deletions
diff --git a/Computer_Concepts_and_C_Programming_by_R.Rajaram/chapter8_5.ipynb b/Computer_Concepts_and_C_Programming_by_R.Rajaram/chapter8_5.ipynb
new file mode 100755
index 00000000..02731f67
--- /dev/null
+++ b/Computer_Concepts_and_C_Programming_by_R.Rajaram/chapter8_5.ipynb
@@ -0,0 +1,139 @@
+{
+ "metadata": {
+ "name": "",
+ "signature": "sha256:9ca261b12dda6340bfb56a529d7d5db69661ff51a7fd92655edb700a9cae8e3b"
+ },
+ "nbformat": 3,
+ "nbformat_minor": 0,
+ "worksheets": [
+ {
+ "cells": [
+ {
+ "cell_type": "heading",
+ "level": 1,
+ "metadata": {},
+ "source": [
+ "8.MANAGING INPUT AND OUTPUT OPERATORS"
+ ]
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "8.1.1,page number:152"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "print \"tce\""
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "tce\n"
+ ]
+ }
+ ],
+ "prompt_number": 1
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "8.2.1,page number:153"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "print \"Enter Text :\"\n",
+ "str=raw_input()\n",
+ "print \"Text entered is:\\n\",str"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Enter Text :\n"
+ ]
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "C programming Language is modern and advanced;it enables adressing bits and bytes.\n"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Text entered is:\n",
+ "C programming Language is modern and advanced;it enables adressing bits and bytes.\n"
+ ]
+ }
+ ],
+ "prompt_number": 2
+ },
+ {
+ "cell_type": "heading",
+ "level": 2,
+ "metadata": {},
+ "source": [
+ "8.3.1,page number:155"
+ ]
+ },
+ {
+ "cell_type": "code",
+ "collapsed": false,
+ "input": [
+ "print \"Enter an Integer :\"\n",
+ "number=int(input())\n",
+ "print \"The Square Of \",number,\"is\",number*number"
+ ],
+ "language": "python",
+ "metadata": {},
+ "outputs": [
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "Enter an Integer :\n"
+ ]
+ },
+ {
+ "name": "stdout",
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "6\n"
+ ]
+ },
+ {
+ "output_type": "stream",
+ "stream": "stdout",
+ "text": [
+ "The Square Of 6 is 36\n"
+ ]
+ }
+ ],
+ "prompt_number": 3
+ }
+ ],
+ "metadata": {}
+ }
+ ]
+} \ No newline at end of file