Hi Chris,

I may have time to look at the rest of your code later.  For now I
just want to comment on one line:

On Nov 7, 12:24 pm, chris <oz...@web.de> wrote:

>     elem=['a','b','c'][i]

The string type, just like the list type, is a sequence type. So
strings have all the standard sequence methods.  You could just write:

elem = "abc"[i]

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to