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

2113 Views

See similar Python Mentoring tutors

Related Python Mentoring answers

All answers ▸

How would you loop over every key and value in a python dictionary?


What built-in types does python provide?


Print "Hello World!" ten times without typing (or pasting) the print function more than once


Write a recursive function that takes any integer n and prints the nth Fibonacci 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