The beauty of Python
dirk at gerrits.homeip.net
Tue Jun 17 16:17:40 CEST 2003
Thomas Weholt ( PRIVAT ) wrote:
> Well, I was hoping for smaller examples, not too advanced things, more stuff
> you'll find in any programming language, stuff python has solved in a
> particulary elegant way.
Well what I found particularly elegant when I was first introduced to
Python was it's easy iteration over sequences with the for statement.
Compare this with a C++ for-loop loop over a range of STL iterators for
And of course I immediately loved its powerful, yet easy to use, data
structures; especially the dictionary.
Perhaps you could work with that?
More information about the Python-list