Range Operation pre-PEP
Roman Suzi
rnd at onego.ru
Thu May 10 01:31:31 EDT 2001
On Wed, 9 May 2001, Fredrik Lundh wrote:
> Roman Suzi wrote:
> > Please, recall the main reason for the new feature:
> >
> > - to allow beginners learn loops BEFORE they learn
> > lists and functions (which are needed now to explain
> > for-loop).
> >
> > Even recursion could be explained without lists in Python,
> > why for-loops need this prerequisite?
>
> done much python training lately, or are you just making
Yes. I taught programming classes a year ago.
That is where I had some trouble with for-loops.
> things up as you go?
>
> (in my experience, you don't have to understand much
> about functions and lists to learn how to *use* range in
> simple for-in loops...)
>
> Cheers /F
Sincerely yours, Roman A.Suzi
--
- Petrozavodsk - Karelia - Russia - mailto:rnd at onego.ru -
More information about the Python-list
mailing list