Repeating the Strings
The repetition operator is denoted by '*' symbol and is useful to repeat the string for several times. For example, str * n repeats the string for n times.
str = 'Core Python'
print(str*2)
Core PythonCore Python
s = str[5:7]*3
print(s)
PyPyPy