BadPython.com
Submit Bad Python
Suggestion for
"Iterating using index"
put list into loop definition, and iterate without index
for i in ['hello', 'world', 'third']: print(i)
Next Suggestion:
Iterate directly over the iterable, especially if you don't ever need the index. And if you do need the index as well as the value, use enumerate()