Question #245

What is the output of the code snippet below?
my_list = [1, 2, 3]
print(2*my_list)

To concatenate multiple copies of the same sequence, multiply it by an integer. (python-simple.com/python-langage/sequence.php)


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵