1# basic multiplication
2print([0] * 5)
3
4# check negative, 0, positive; lhs and rhs multiplication
5for i in (-4, -2, 0, 2, 4):
6    print(i * [1, 2])
7    print([1, 2] * i)
8
9# check that we don't modify existing list
10a = [1, 2, 3]
11c = a * 3
12print(a, c)
13
14# unsupported type on RHS
15try:
16    [] * None
17except TypeError:
18    print('TypeError')
19