SyntaxFix
Write A Post
Hire A Developer
Questions
The question is a bit unclear can't you just repeat the for loop?
a=[1,2,3] for i in a: print i 1 2 3 for i in a: print i 1 2 3