From 6304383f36999bd4df583dc3015e33b537ed76ef Mon Sep 17 00:00:00 2001 From: Bhanukiran Date: Thu, 11 Nov 2010 00:22:53 +0530 Subject: Language check Done for `getting started with for loop` --- getting-started-with-for/script.rst | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'getting-started-with-for') diff --git a/getting-started-with-for/script.rst b/getting-started-with-for/script.rst index 014e040..facbd7b 100644 --- a/getting-started-with-for/script.rst +++ b/getting-started-with-for/script.rst @@ -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 @@ 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 -- cgit From e71a5608636b8a9ea40b2b02b3f7266dc3d9bc24 Mon Sep 17 00:00:00 2001 From: Anand Raj Date: Thu, 11 Nov 2010 00:24:11 +0530 Subject: checklist OK for `gettin started with for loops` 1;2305;0c --- getting-started-with-for/script.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'getting-started-with-for') diff --git a/getting-started-with-for/script.rst b/getting-started-with-for/script.rst index facbd7b..69f925b 100644 --- a/getting-started-with-for/script.rst +++ b/getting-started-with-for/script.rst @@ -23,7 +23,7 @@ Internal Reviewer(2): Amit External Reviewer : Language Reviewer : Bhanukiran - Checklist OK? : [2010-10-05] + Checklist OK? : <10-11-2010, Anand, OK> [2010-10-05] ============================= -- cgit