Ask User and Repeat key/s or key sequences

You can use the Repeat action or For Each action with a Number Range collection.

See also the Variable Repeat topic.