Q. What would be the output of following code?


mydict = {"cat":12, "dog": 6, "elephant":23, "bear":20}
print("dog" in mydict)


Answer :-


Output :-


True
>>>

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post