<<<<<<< HEAD
k="a"
d = {"a":2,"b":1,"c":3}
for keys in d.keys():
    if keys == k:
        print("Key exists :",keys)

    else :
        print("Key doesn't exists :",keys)
=======
k="c"
d = {"a":2,"b":1,"c":3}
for keys in d:
    if keys == k:
        print("Key exists")
#    else :
#        print("Key doesn't exists")
>>>>>>> 8e73dad671134f114701da99a68fa06160ae3bbf
