In Python, a hash is a fixed-sized integer that identifies a particular value. Each value needs to have its own hash, so for the same value, you will get the same hash even if it's not the same object.
>>> hash("Look at me!")
4343814758193556824
>>> f = "Look at me!"
>>> hash(f)
4343814758193556824
To know more about this you can have a look at the following video tutorial:-