Is there an idiom for "do this N times"?

A post was split to a new topic: Is there an idiom for constructing a heterogeneous tuple?