Oh, while we&#x27;re talking about things with predictable hashes, here&#x27;s a Python WTF that I enjoy:<p><pre><code>    class A:
        def __hash__(self):
            return -1

    print(hash(A()))
</code></pre>
Prints -2.<p>For the same reason, if you ever need an easy hash collision, use the hashes of -1 and -2.