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

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

GH
Answered by George H. Python tutor

1914 Views

See similar Python Mentoring tutors

Related Python Mentoring answers

All answers ▸

What are docstrings and how do I use them to improve my code readability?


What built-in types does python provide?


Create an rock, paper, scissors game. The user should input one option, and the computer should play randomly.


Ask the user for a number and output the smallest divisor, bigger than one, for the inputted number. Output "Prime" if the number is a prime number.


We're here to help

contact us iconContact ustelephone icon+44 (0) 203 773 6020
Facebook logoInstagram logoLinkedIn logo

MyTutor is part of the IXL family of brands:

© 2026 by IXL Learning