?
What will be the output of the following Python code?
What will be the output of the following Python code?
a={}
a[2]=1
a[1]=[2,3,4]
print(a[1][1])
a={}
a[2]=1
a[1]=[2,3,4]
print(a[1][1])
Join the Discussion
Login to post a comment or share your explanation.
Login