Computers are very good at repetition, so it's very common to give a computer a task you want to do many times, or a task you want to do once per element in a group. We call this repetitive action iteration and we typically iterate using a loop.
Here is a template for a for loop header, you will replace times with the number of times you wish to perform the action in the body:
for counter in range(times):
Like if statements, after your header comes the indented body that you want to repeat the given number of times.
for counter in range(5):
print("HI!")
print("HEY!")
In most applications, you won't know ahead of time how many times you need to repeat. Often, the number of times the code repeats is given by a variable. Copying and pasting code doesn't offer that same flexibility
Copying and pasting an action several times may not make it clear, without a lot of work, how many times you want to repeat the action. Copying and pasting also clutters your code.
If you want to change the number of times an action is taken, you can just change the number of times. Also, if you wind up changing the repeated code, you only have to change it once, rather than every place you've copied and pasted it.