Look at the example and define your own action and create an argument for how many times you would like to repeat it
Thanks to Cs50 for this useful example