index in dictionary variable
a={"d":'a',"l":'c'}
if("test" in a):
print("exists")
else:
print("does not exists")
a={"d":'a',"l":'c'}
if("d" in a):
print("exists")
else:
print("does not exists")
c=dict([('foo', 100), ('bar', 200)])
if("foo" not in c):
print("not exists")
else:
print("exists")