Scope of list comprehension iterator in Python Ivan Vučica 14 years ago Know about this? x = [i * 2 for i in [1, 2, 3, 4]] Be careful. The scope of “i” is not limited to the expression it is used in. – via blog.vucica.net