Answers for "python if dict contains 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

Browse Popular Code Answers by Language