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

1962 Views

See similar Python Mentoring tutors

Related Python Mentoring answers

All answers ▸

What is Object-Oriented Programming?


Write a basic program to output the lowest of 3 input numbers. (You may omit error checks on your inputs)


What is the difference between a FOR loop and WHILE loop and how do I write them?


What is the difference between a for loop and a while loop?


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