Predict the output
a={'a':1,'b':2,'c':3}
print(a['a','b'])
Answers
Answered by
11
It will throw KeyError because you can only choose one key at a time.
Answered by
5
Explanation:
it will throw key error because you can only choose one key at a time.
Similar questions
Computer Science,
2 months ago
Business Studies,
2 months ago
Math,
4 months ago
English,
4 months ago
English,
9 months ago
Biology,
9 months ago
Science,
9 months ago