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 ▸

Implement a fibonacci function which calculates the nth number of the fibonacci sequence.


What is the difference between a cycle "if" and "while"?


Explain the difference between local and global variables


Create a program that generates prime numbers between two integer boundareis