Computer Science, asked by pankajkumar7812, 9 months ago

How to check value exists in the dictionary or not using membership operator?​

Answers

Answered by JayasreeRoy
2

Answer:

Hey mate....

check if key exists in dictionary using get() Dictionary provides a method get() that accepts a key and default value. If given key exists in dictionary then it returns its value, If given key does not exists in dictionary then it returns the passed default value argument.

<marquee> Mark as brainlist</marquee>

Similar questions