I am trying to create a python dictiory with dupliate key as follows.
x = {"a" :1,"b":2,"z": 4, "c":90, "z":0, "k":None}
print(x["z"])
when i am calling key "z"
value it is printing 0
why it is not printing 4
? does it valid to have duplicat keys in dictionary?