[Edu-sig] Lees book
Kirby Urner
urnerk@qwest.net
Fri, 11 Jul 2003 00:26:33 -0700
At 10:38 AM 7/10/2003 -0700, Conrad Koziol wrote:
>Hey thanks for the advice I'm currently going through his book. Seems
>like a fun way to learn. Also any advice on learning about the logic of
>python such as using passing a list through len to get the indexs. I
>understand basic logic, but since this is my first real language, I'm
>running into some problems
Feel free to post a code example of what you're trying to do.
You can use a list's index method to return the position of
one of its members (elements).
>>> ['x','joe','r'].index('joe')
1
Kirby