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!")
>>> f = "Look at me!"
To know more about this you can have a look at the following video tutorial:-