# HG changeset patch # User bhanu # Date 1289415173 -19800 # Node ID 7eaa550929a1eba0e018cd6ae14074c54cf7a79e # Parent fcdec2d28c9a411630795876c78d9613f0319a8d Language check Done for `getting started with for loop` diff -r fcdec2d28c9a -r 7eaa550929a1 getting-started-with-for/script.rst --- a/getting-started-with-for/script.rst Thu Nov 11 00:03:57 2010 +0530 +++ b/getting-started-with-for/script.rst Thu Nov 11 00:22:53 2010 +0530 @@ -22,6 +22,7 @@ Internal Reviewer : Nishanth Internal Reviewer(2): Amit External Reviewer : + Language Reviewer : Bhanukiran Checklist OK? : [2010-10-05] @@ -31,7 +32,7 @@ {{{ 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 @@ 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 @@ 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 @@ {{{ 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