python check if two dictionaries have same keys

Solutions on MaxInterview for python check if two dictionaries have same keys by the best coders in the world

showing results for - "python check if two dictionaries have same keys"
Katharine
08 May 2020
1if all (k in foo for k in ("foo","bar")):
2	pass