Notice: we moved to https://sihan.hashnode.dev/
for keys and values check use: set(d1.items()).issubset(set(d2.items()))
set(d1.items()).issubset(set(d2.items()))
if you need to check only keys: set(d1).issubset(set(d2))
set(d1).issubset(set(d2))
No comments:
Post a Comment