Multiplication operator on string/list variables in Python

When you multiply a list or a string by an integer, Python repeats the content of that list or string the specified number of times.

On string:

print('--**' * 5)
Output:
--**--**--**--**--**
On list:
print([1, 2, 3] * 3)
Output:
[1, 2, 3, 1, 2, 3, 1, 2, 3]