Why hash() function returns different values for the same string?

前端 未结 0 933
故里飘歌
故里飘歌 2020-12-19 19:33

Look at this simple code:

print(hash(10.123))  # prints 283618690133282826
print(hash("asdf"))

Run it few times in interpre

相关标签:
回答
  • 消灭零回复
提交回复
热议问题