立即学习:https://edu.csdn.net/course/play/26676/338780?utm_source=blogtoedu
字典:{ }
dict
存在映射关系
{'name': 'Zhangsan', 'age': '27', 'city': 'Ningbo'}
或
dict(a=1, b=2, c=3)
a不可变,不可重复,1可变可重复
字典不是序列类
立即学习:https://edu.csdn.net/course/play/26676/338780?utm_source=blogtoedu
字典:{ }
dict
存在映射关系
{'name': 'Zhangsan', 'age': '27', 'city': 'Ningbo'}
或
dict(a=1, b=2, c=3)
a不可变,不可重复,1可变可重复
字典不是序列类