SyntaxFix
Write A Post
Hire A Developer
Questions
l = [1, 2, 3] print '\n'.join(['%i: %s' % (n, l[n]) for n in xrange(len(l))])