- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
Write the output of the following code :
A = {1 : "One", 2 : "Two", 3 : "Three"}
B = {'A' : "Apple", 'B' : "Bat", 'C' : "Cat", 'D' : "Doll"}
print(A.get(4,"Key Not Found"))

1.KeyError

2.Key Not Found

3.None

4.Syntax Error

Posted Date:-2021-12-06 17:35:02


More MCQS Questions and answers

Search