beginner question here:
I want to check if certain keys in a dict have a certain value
simplified version of what I tried:
d = {'a':'b', 'b':'b', 'c':'c'}
def b_check():
if d['a'] and d['b'] and d['c'] == 'b':
return True
else:
return False
However, I always get True as the output.
Thanks in advance for the help :)