How do I print a number n times in Python?

I can print 'A' 5 times like this:

```
print('A' * 5)
AAAAA
```

but not 10, like this:

```
print(10 * 5)
50
```

I want the answer to be
`10 10 10 10 10`

How do I escape the mathematical operation in `print()`

?

I am not asking how to print the *string* '10' n times, I am asking how to print the *number* 10 n times.

`10*5`

actually does multiplication and ends up giving you 50, but when you do`'10 '*5`

, the`*`

operator performs the repetition operator, as you see in`'A' * 5`

for exampleOutput will be

`10 10 10 10 10`

Or you can explicitly convert the int to a string via

`str(num)`

and perform the print operation