Answers for "if dictonnairy contain key"

1

check if dict key contains specific key and value

if (key, value) in d.items():
	print("yes")
Posted by: Guest on November-16-2020
0

if dictonnairy contain key

if key in dictionnary:
	print("dictonnary contain this key")
Posted by: Guest on October-14-2021

Browse Popular Code Answers by Language