SyntaxFix
Write A Post
Hire A Developer
Questions
Delay the special handling of the last item until after the loop.
>>> for i in (1, 2, 3): ... pass ... >>> i 3