This website requires JavaScript.
Explore
Help
Register
Sign In
chenxuan
/
python
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
eff58fddedef9eddcd55955bd249c9887729b427
python
/
pythonProject
/
数据类型
/
集合
/
2.py
T
3 lines
42 B
Python
Raw
Normal View
History
Unescape
Escape
no message
2025-12-09 18:16:08 +08:00
s
=
{
1
,
2
}
s
.
add
(
3
)
# 添加元素
print
(
s
)
Reference in New Issue
Copy Permalink