You could add an additional check like this
if (isinstance(value, list) and 5 in value) or value == 5:
print "Yes for " + key
else:
print "No for " + key
7
solved Why does A resolve true, but B does not? [closed]
You could add an additional check like this
if (isinstance(value, list) and 5 in value) or value == 5:
print "Yes for " + key
else:
print "No for " + key
7
solved Why does A resolve true, but B does not? [closed]