Skip to content

Commit 4272e98

Browse files
author
wangningning
committed
hash 题
1 parent 8221d7d commit 4272e98

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

docs/08_字典/dict.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ d[[1]] = 1
4545

4646
# 思考题:
4747
- 你能在哈希表的基础上实现 dict 的其他操作吗?
48-
- 对于 python 来说,哪些内置数据类型是可哈希的呢?
49-
- 你了解 python 的 hash 函数吗?
48+
- 对于 python 来说,哪些内置数据类型是可哈希的呢?list, dict, tuple, set 等类型哪些可以作为字典的 key 呢?
49+
- 你了解可变对象和不可变对象的区别吗?
50+
- 你了解 python 的 hash 函数吗?你了解 python 的`__hash__``__eq__` 魔术方法吗?它们何时被调用
5051

5152
# 延伸阅读
5253
阅读 python 文档关于 dict 的相关内容

0 commit comments

Comments
 (0)