📌  相关文章
📜  如何检查dict python代码示例中有多少键值对

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

代码示例1
a_dictionary = {"a": 1, "b": 2}
dictionary_length = len(a_dictionary)
print(dictionary_length)