📜  在python代码示例中添加数字

📅  最后修改于: 2022-03-11 14:45:05.575000             🧑  作者: Mango

代码示例1
# Creating an empty set
b = set()
print(type(b))

## Adding values to an empty set
b.add(4)
b.add(4)
b.add(5)
b.add(5) # Adding a value repeatedly does not changes a set
b.add((4, 5, 6))