I know a list comprehension will do this, but I was wondering if there is an even shorter (and more Pythonic?) approach.
I want to create a series of lists, all of the varying length. Each list will contain the same element e, repeated n times (where n = length of the list). How do I create the lists, without doing
[e for number in xrange(n)]
for each list?