結果 : create hash function python