What is the output of this code?
a=[1, 2]
b=[2, 3]
c=[3 ,4]
d=[a, b, c]
print(d)
Answers
Answered by
0
Answer:
You will get this print D = [ 1,2,3,4]
Explanation:
if you put value of a,b,c in D
you will get D= [1,2,3,4]
Computer will override repeated number
so you will get print of D = [1,2,3,4]
Similar questions