| |
comp.lang.python |
On 11:43 Sat 26 May , Steve Howell wrote: > When you go to the tutorial, though, you have to wade > Below is my attempt at generating ten fairly simple, > It was an interesting exercise. I constrained myself > It was harder to show classes, and my ShoppingCart > Anyway, here goes: Regards, John
> programmers to Python is to show them small code
> examples.
> through quite a bit of English before seeing any
> Python examples.
> representative Python programs that expose new users
> to most basic concepts, as well as the overall syntax.
> to ten lines or less, and it was pretty easy to
> incorporate loops, conditionals, print, open(), lists,
> tuples, dictionaries, and imported modules.
> class is nothing more than an encapsulation of a list,
> which has dubious value (although it's the start of
> something more useful).
books. Simple, relevant and concise examples.
--
War is God's way of teaching Americans geography
Ambrose Bierce (1842 - 1914)