标签:python中的集合介绍

python中的集合介绍

#python中的集合介绍

📚 共 1 篇文章 🏷️ 标签分类 📝 python中的集合介绍
python中的集合介绍

Python中的集合介绍

1.集合的定义集合的元素是不可重复的s={1,2,3,1,2,3,4,5}print(s)print(type(s))s1={1}print(s1)print(type(s1)