Python, list multiplier

my_list=[1, 2, 3, 4]

print(my_list*2)

# [2, 4, 6, 8] No

# [1, 2, 3, 4, 1, 2, 3, 4] Yes.

댓글