print list + tinylist * 2
if list = [ 'abcd', 786 , 2.23, 'john', 70.2 ]
tinylist = [123, 'john']?
Can someone explain me as what is the working over here?
It will print concatenated lists. Output would be
['abcd', 786, 2.23, 'john', 70.2, 123, 'john', 123, 'john'].
can you an example for each? READ MORE
Polymorphism is the ability to present the ...READ MORE
python is general purpose programming language.it very ...READ MORE
raw_input fuction is no longer available in ...READ MORE
suppose you have a string with a ...READ MORE
You can also use the random library's ...READ MORE
colors = ['red', 'green', ...READ MORE
can you give an example using a ...READ MORE
Hey, all the tools that you have ...READ MORE
There are few differences between Python and ...READ MORE
Already have an account? Sign in.