立即学习:https://edu.csdn.net/course/play/26676/338780?utm_source=blogtoedu
字典定义:{}
由键值对组成,key不能重复,且不可变,例如数值、字符串、元组
基本操作:del 字典[键]
键 in 字典:true,false
len(字典)
立即学习:https://edu.csdn.net/course/play/26676/338780?utm_source=blogtoedu
字典定义:{}
由键值对组成,key不能重复,且不可变,例如数值、字符串、元组
基本操作:del 字典[键]
键 in 字典:true,false
len(字典)