I have a python file script that I want to run many times. but any time I run it the return value is different but the input is the same:
below code show it:
from typing import Iterable
def get_hash(hash_string: Iterable[str]) -> str:
hash_string.sort()
return str(hash(tuple(hash_string)))
sample_list = ['00b3ee037a1cfba5158e7c9fad04ced03b92fe3b', '02db69a00d40834ab095cbbbe18fe8945229df9b']
get_hash(sample_list)
Any time I run this script the result is different!!!