<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 17.02.2017 04:59, Chris Angelico
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAPTjJmqj1ga0oLUbeO0UPCuy3OVb30Og8ktz-6xuDbTiZyxmzA@mail.gmail.com"
      type="cite">
      <pre wrap="">On Fri, Feb 17, 2017 at 2:13 PM, Mikhail V <a class="moz-txt-link-rfc2396E" href="mailto:mikhailwas@gmail.com"><mikhailwas@gmail.com></a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Common use case:

L = [1,3,5,7]

for i over len(L):
   e = L[i]

or:

length = len(L)
for i over length:
   e = L[i]
</pre>
      </blockquote>
      <pre wrap="">
Better use case:

for i, e in enumerate(L):
</pre>
    </blockquote>
    <br>
    I totally agree with Chris here.<br>
    <br>
    For me, there's no need for another for loop syntax. It would be
    better to learn Python idioms instead.<br>
    <br>
    Sven<br>
  </body>
</html>