> Having studied the examples given here, I am beginning to get some
> understanding of what is going on. If only I could find many more
> examples like these, in simple English, I would be a very happy student.
[Note: this is a fairly long post. Didn't know how to do the subject
justice withou
Dear Norman,
You can reuse function, this make your code more easy to handle.
Suppose you have code to calculate area of rectangle, but this time you like to calculate 3 times:
width = 3; length = 2
print 'area', width * length
width = 1; length =32
print 'area', width * length
width =
At 08:11 AM 10/16/2005, Norman Silverstone wrote:
>I am an elderly person somewhat physically handicapped with some
>experience programming in basic and pascal, many years ago. In order to
>keep myself mentally active I decided to have a look once again at
>programming and chose python as a good l
> I apologize to the list again for the noisy contentless ranting I made
> yesterday, so I'll try making it up by doing concrete demos of a
> function-focused approach. This will critique Zelle's Chapter Two and
> Chapter Five, and see what things would look like if under a function
> regime.
>
On Sat, 15 Oct 2005, Kent Johnson wrote:
> > I really wish that someone would take a similar approach in writing a
> > beginner Python tutorial that focuses on functions almost immediately,
> > even before control flow.
>
> You might like John Zelle's book - he teaches functions before control
>