Multiplying Strings in Python

Python also allows you to multiply strings, i.e. increase the number of the same string by a certain number.

Let's multiply our string by 3 times:

pythonprint(3 * 'abc') # 'abcabcabc'
Задание 1

Write how you can get the following result:

python'a1b2a1b2a1b2a1b2'
Задание 2

Write how you can get the following result:

python'abab1213'