📜  在 python 代码示例中获取列表的大小

📅  最后修改于: 2022-03-11 14:46:01.794000             🧑  作者: Mango

代码示例4
li = [None] * 5 # [None, None, None, None, None]
li = [0] * 5 # [0, 0, 0, 0, 0]