# HG changeset patch # User amit # Date 1285226212 -19800 # Node ID 069d4e86207e64add41d833f114968a15d826143 # Parent 6b1efb74d91454c28f8d76202fd05d7237be7edc review for getting started with for diff -r 6b1efb74d914 -r 069d4e86207e getting_started_with_for.rst --- a/getting_started_with_for.rst Thu Sep 23 12:29:30 2010 +0530 +++ b/getting_started_with_for.rst Thu Sep 23 12:46:52 2010 +0530 @@ -18,7 +18,7 @@ {{{ switch to next slide, outline slide }}} -In this tutorial we will see ``for`` loops in python, and also cover +In this tutorial we will learn about ``for`` loops in python, and also cover the basics of indenting code in python. .. #[Nishanth]: Instead of saying basics of indenting code, @@ -38,6 +38,9 @@ advantages like neat code can be told after completely explaining the indentation +.. #[Amit]: Do you want to do that here. May be its better to talk about + this after some initiation into the idea of blocks. + A block may be defined by a suitable indentation level which can be either be a tab or few spaces. And the best practice is to indent the code using four spaces. @@ -264,6 +267,14 @@ Python, indentation, blocks in IPython, for loop, iterating over a list and then the ``range()`` function. +.. #[Amit]: There does seem to too much overhead of details. Should + the first example be done using script is it necessary. + Do add some things in evolutionary manner. Like introducing + range as a list and doing a very very simple for loop.Like + iterating over [1,2,3] .Before getting into a problem. + And club details about problem in one paragraph and syntactic details + in other. + {{{ switch to next slide, thank you slide }}} Thank you!