Computer Science, asked by Charan1406, 4 months ago

Predict the output from the following code. (2)

a={}

a[‘a’]=1

a[‘b’]=[2,4,6]

t={}

t[‘k1’]={“k1”:44,”k2”:54}

t[“k2”]= [1,2,3,4]

t.update(a)

print(a)

print(t)

*

Answers

Answered by jai696
6

Output of a:

{'a': 1, 'b': [2, 4, 6]}

Output of t:

{'k1': {'k1': 44, 'k2': 54}, 'k2': [1, 2, 3, 4], 'a': 1, 'b': [2, 4, 6]}

\large\mathsf\color{lightgreen}useful?\: \color{white}\longrightarrow\: \color{orange}brainliest!

Answered by freefire11175
0

Answer:

bjjjjgffjkfddddxzzzzz

Similar questions