summaryrefslogtreecommitdiff
path: root/input_output
diff options
context:
space:
mode:
authorJovina2011-08-10 10:13:50 +0530
committerJovina2011-08-10 10:13:50 +0530
commit1853cd0a82a35d6f315e25cc986db6b4e9ce795e (patch)
tree9d0b583760304db275e7ea84426f63e022e60a57 /input_output
parent0487c0098af2c239bc9d6142588d2c51497a8797 (diff)
downloadst-scripts-1853cd0a82a35d6f315e25cc986db6b4e9ce795e.tar.gz
st-scripts-1853cd0a82a35d6f315e25cc986db6b4e9ce795e.tar.bz2
st-scripts-1853cd0a82a35d6f315e25cc986db6b4e9ce795e.zip
Minor correction in the script 'input_output' .
Diffstat (limited to 'input_output')
-rw-r--r--input_output/script.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/input_output/script.rst b/input_output/script.rst
index dfc47ae..ba614ae 100644
--- a/input_output/script.rst
+++ b/input_output/script.rst
@@ -42,20 +42,20 @@ At the end of this tutorial,you will be able to,
#. Take input from user.
#. Display a prompt to the user before taking the input.
-.. L3
+.. R3
Let us first start ipython on our teminal
-.. R3
+.. L3
::
ipython
-.. L4
+.. R4
Let us start this tutorial by typing a string
-.. R4
+.. L4
::
a = "This is a string"
@@ -350,8 +350,8 @@ Here are some self assessment questions for you to solve
- float
- char
-2. ``a = 2`` and ``b = 4.5``. What does ``print "a is %d and b is %2.
- 1f" %(b, a)`` print?
+2. ``a = 2`` and ``b = 4.5``. What does ``print "a is %d and b is
+ %2.1f" %(b, a)`` print?
- a is 2 and b is 4.5
- a is 4 and b is 2