标签: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)