Python is going to be hard

Skip Montanaro skip at pobox.com
Wed Sep 3 14:28:39 EDT 2014


On Wed, Sep 3, 2014 at 1:24 PM, MRAB <python at mrabarnett.plus.com> wrote:
> Iterating over a list yields its contents, not indexes.

Unlike in JavaScript. Not sure where the OP is coming from, but that
"feature" of JavaScript threw me when I first encountered it. My guess
would be that his prior experience includes (at least) JS.

Skip



More information about the Python-list mailing list