summaryrefslogtreecommitdiff
path: root/getting-started-with-for
diff options
context:
space:
mode:
authorBhanukiran2010-11-11 17:39:26 +0530
committerBhanukiran2010-11-11 17:39:26 +0530
commita862dcb040bf0e0c68f87ba69fffc38a2550fa9b (patch)
treede564cfc63e7682496a66573eb0c5ca65f97e3d0 /getting-started-with-for
parent00c3be09a95f7da014a846f61e1091e52f087e1f (diff)
parent330fac08277ed7d63fee8b6bbbcafd4ecc86ccc6 (diff)
downloadst-scripts-a862dcb040bf0e0c68f87ba69fffc38a2550fa9b.tar.gz
st-scripts-a862dcb040bf0e0c68f87ba69fffc38a2550fa9b.tar.bz2
st-scripts-a862dcb040bf0e0c68f87ba69fffc38a2550fa9b.zip
merging heads
Diffstat (limited to 'getting-started-with-for')
-rw-r--r--getting-started-with-for/script.rst13
1 files changed, 7 insertions, 6 deletions
diff --git a/getting-started-with-for/script.rst b/getting-started-with-for/script.rst
index 014e040..69f925b 100644
--- a/getting-started-with-for/script.rst
+++ b/getting-started-with-for/script.rst
@@ -22,7 +22,8 @@
Internal Reviewer : Nishanth
Internal Reviewer(2): Amit
External Reviewer :
- Checklist OK? : <put date stamp here, if OK> [2010-10-05]
+ Language Reviewer : Bhanukiran
+ Checklist OK? : <10-11-2010, Anand, OK> [2010-10-05]
=============================
@@ -31,7 +32,7 @@ Getting started with for loop
{{{ show welcome slide }}}
-Hello and welcome to the tutorial getting started with ``for`` loop.
+Hello and welcome to the tutorial `Getting started with ``for`` loop`.
{{{ switch to next slide, outline slide }}}
@@ -156,7 +157,7 @@ line or the immediate line after the ``for`` block is not indented,
it means that it is not part of the ``for`` loop and the lines after
that doesn't fall in the scope of the ``for`` loop. Thus each block is
-separated by the indentation level. Thus marking the importance of
+separated by the indentation level and that marks the importance of
white-spaces in Python.
{{{ switch to the slide which shows the problem statement of the first
@@ -204,8 +205,8 @@ the ``for`` loop,
print "is", sqrt(each)
Now we have finished the statements in the block, and still the
-interpreter is showing four dots, which means you are still inside the
-block. To exit from the block press return key or the enter key twice
+interpreter is showing four dots, this means that you are still inside the
+block. To exit from the block press the return key or the enter key twice
without entering anything else. It printed the square root of each
number in the list, and that is executed in a ``for`` loop.
@@ -252,7 +253,7 @@ block, hit enter once again
{{{ switch to the next slide, ``range()`` function }}}
-Okay! so the main thing here we learned is how to use Python
+Okay! so the main thing that we learned here is how to use Python
interpreter and IPython interpreter to specify blocks. But while we
were generating the multiplication table we used something new,
``range()`` function. ``range()`` is an inbuilt function in Python