SyntaxFix
Write A Post
Hire A Developer
Questions
In additon to other answers - very often, you do not have to iterate using the index but you can simply use a for-each expression:
my_list = ['a', 'b', 'c'] for item in my_list: print item