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 ▸

Create a program that takes in two numbers and returns the highest of the two


Why are negative indexes used?


Which function is ran when an object is instantiated?


Creating string from multiple strings(or characters)