摘要: dict.get(key, default=None) 用法如下:https://www.runoob.com/python/att-dictionary-get.html key -- 字典中要查找的键。 default -- 如果指定键的值不存在时,返回该默认值。 如下代码相当于 C++ 的 s 阅读全文
posted @ 2020-11-24 11:30 Gelthin 阅读(295) 评论(0) 推荐(0) 编辑