Computer Science, asked by kushbhu0808, 5 months ago

13. Find the output of the following code fragements, for the following dictionary.
DI= {'Bhuvana': 1, Richard':2, 'Feroz': 20, ‘Abi':40)
a) k="Bhuvana"
V=-10
if k in DI:
D1[k]=v
print(D1)

Answers

Answered by jai696
1

\huge{\mathtt{{\blue{\boxed{\tt{\pink{\orange{A}\purple{n}\blue{s}\red{w}\green{e}\pink{r᭄}}}}}}}}

{'Bhuvana': -10, 'Richard': 2, 'Feroz': 20, 'Abi': 40}

\huge\blue{\mid{\fbox{\tt{Explanation}}\mid}}

The value of key Bhuvana has been updated to -10

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

Similar questions