学习笔记(20):Python 面试100讲(基于Python3.x)-字典键值支持哪些数据类型

立即学习:https://edu.csdn.net/course/play/26755/340131?utm_source=blogtoedu

字典的键值支持的数据类型:

1、不支持的类型:列表和字典

2、为什么:应为key是不变的,列表和字典是可变的,无法作为key

发布了26 篇原创文章 · 获赞 0 · 访问量 112

猜你喜欢

转载自blog.csdn.net/wuchuang19/article/details/104232674