Tim Chase wrote:
>>
>> a = ['spam!', 1, ['Brie', 'Roquefort', 'Pol le Veq'], [1, 2, 3]]
>>
>> As an exercise, write a loop that traverses the previous list and
>> prints the length of each element. What happens if you send an
Tim Chase wrote:
> >
> > a = ['spam!', 1, ['Brie', 'Roquefort', 'Pol le Veq'], [1, 2, 3]]
> >
> > As an exercise, write a loop that traverses the previous list and
> > prints the length of each element. What happens if you sen
>
> a = ['spam!', 1, ['Brie', 'Roquefort', 'Pol le Veq'], [1, 2, 3]]
>
> As an exercise, write a loop that traverses the previous list and
> prints the length of each element. What happens if you send an
> integer to len?