hash()

Scott David Daniels scott.daniels at acm.org
Mon Dec 5 12:24:54 EST 2005


John Marshall wrote:
> For strings of > 1 character, what are the chances
> that hash(st) and hash(st[::-1]) would return the
> same value?

Why not grab a dictionary and do the stats yourself?

--Scott David Daniels
scott.daniels at acm.org



More information about the Python-list mailing list