I think what you're asking for is a way that looks more "Pythonic" (ie, utilizes the features provided by Python to simplify a programming task). There is a way, you have to do something like this:
toReturn = [val for i in range(5)]
The above code returns an array of length 5 with each entry equal to val:
[val, val, val, val, val]