if L=[1,2] then L*2 will yield ?
Answers
Answered by
21
Answer:
Input:
>>>L=[1,2]
>>>L*2
Output:
[1,2,1,2]
Hope you may get it
Mark as brainliest
Thank You...
Answered by
0
L*2 = [1,2,1,2] is the correct answer
Explanation
Python is known for being powerful and easy to use when it comes to mathematics. Both native functions and imaginative libraries such as NumPy, Pandas, and Scikit-learn provide developers with the tools they need for difficult numbers. However, you may need to leave the decimal world and use one of the other common radixes.
Here L = [1,2]
Now Multiplying L with 2
We get L*2 = [1,2]*2
Hence L*2 = [1,2,1,2]
Therefore L*2 = [1,2,1,2] is the correct answer.
#SPJ3
Similar questions