Computer Science, asked by charansuryadevsingh, 3 months ago

Q5.Find the incorrect statement/s out of the following:
dictl={'A': 'Apple', 'B':'Boy', 'C':'Cat', 'D':'Dog'}
a) print(dictl["a"] )
b) print(dict1["B"] )
c) print(dict1["Cat"] )
d) print(dict1["E"] )​

Answers

Answered by jai696
3

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

They are all incorrect.

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

  1. Tries to access a non existent key.
  2. Undefined dictionary.
  3. Undefined dictionary.
  4. Undefined dictionary.

This makes the assumption that you didn't make any typos in the provided code snippet.

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

Similar questions