Loop in a loop?
cokofreedom at gmail.com
cokofreedom at gmail.com
Thu Jan 17 09:57:46 EST 2008
>
> > Yes, small typo there.
>
> > Okey, so if my array1 is has 4 elements, and array2 has 6, it won't
> > loop trough the last 2 in array2? How do I make it do that?
>
> <ot>
> Please gentlemen: Python has no builtin type named 'array', so
> s/array/list/g
> </ot>
>
> Just pad your shortest list.
I agree, but was merely showing how he would use the variables he had
given.
More information about the Python-list
mailing list