[Edu-sig] Does any such tutorial exist?
george hanson
ghanson@postmaster.co.uk
Sun, 09 Feb 2003 00:45:39 +0000
On Sun, 09 Feb 2003 00:39:42 +0000
"george hanson" <ghanson@postmaster.co.uk> wrote:
> On Sat, 08 Feb 2003 15:23:02 -0800
> "Kirby Urner" <urnerk@qwest.net> wrote:
> > At 11:07 PM 2/8/2003 +0000, george hanson wrote:
> > >
> > Of course the more Pythonic way to express this would be:
> >
> > >>> reduce(add, [sqr(i) for i in range(5)])
> > 30
> >
> > but I gather you're trying to keep this kind of syntactic >sugar for latter.
>
> Definitely, because I have had enough of students asking:
> 'why is this?','why is that','can you explain that again?'
> Also, they sometimes used ineficient designs, so I wanted a
> way to make them keep in mind only designing a solution to the problem.(but at the same time making sure there would be
> a connection to python, else I would have used flowcharts)
>
>
> Cheers
> George