Q. What would be the output of following code?
mydict = {"cat":12, "dog": 6, "elephant":23,"bear":20}
answer = mydict.get("cat")//mydict.get("dog")
print(answer)
Answer :-
Output :-
2
>>>
>>>
Post a Comment
You can help us by Clicking on ads. ^_^
Please do not send spam comment : )