What is the outcome of the following code? print(2*[3,4,5])

[3, 4, 5, 3, 4, 5] will be printed.

GH

Related Python Mentoring answers

All answers ▸

What is the difference between & and && operators?


Use recursion to print all the sublists of a given list


Create an algorithm that can be used as a guessing game. Make sure to import random at the start.


What built-in types does python provide?