Can we insure the for loop iteration order when we loop over a list by "for item in list:"? : <pre><code>for a in mylist:
     print(a)
</code></pre>

<p>I am wondering whether the item in the for loop iteration will always print the item in order?</p>

<p>I know "for i in (len(mylist))" can ensure the order but not sure about whether "for a in mylist" can ensure the order. </p>

<p>I tried on my computer it seems like it prints out the items in order. But not sure whether it is true everywhere</p>

<p>Thanks</p>
