[Tutor] list as a first class citizen in python? [language comparisons!]

Danny Yoo dyoo@hkn.eecs.berkeley.edu
Wed, 26 Dec 2001 00:36:53 -0800 (PST)


On Wed, 26 Dec 2001, Danny Yoo wrote:

> However, Perl's equivlant expression does include that right endpoint.  
> Sorry, I forgot!  This line should have been:
> 
> ### Perl
>       for my $i (0..#@l1)) {


Doh.  I meant:

>       for my $i (0..$#l1)) {

My fingers slipped.  When I goof up, I goof up big.  *sigh*


Ok, I'd better stop talking about Perl and get back to Python.