In Python, is there any way to write this list comprehension without the "x in" variable (since it is left completely unused)? Same applies to a generator expression. I doubt this comes up very often, but I stumbled onto this a few times and was curious to know.
Here's an example:
week_array = ['']*7
four_weeks = [week_array[:] for x in range(4)]
(Also perhaps, is there a more elegant way to build this?)