Computer Science, asked by kavya4307, 8 months ago

How to check value exists in the dictionary or not using

Answers

Answered by ranyodhmour892
0

Answer:

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

Answered by shrutisharma4567
4

Explanation:

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

HOPE IT HELPS YOU! MARK IT AS BRAINLIEST AND FOLLOW ME UP!

Similar questions