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

1924 Views

See similar Python Mentoring tutors

Related Python Mentoring answers

All answers ▸

What is the difference between DFS and BFS? Where can I apply each?


What are recursive functions and when should they be used?


Write a short program to print all the even numbers 1 to 100


How would you get a piece of code to print the numbers 1 to 10


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