Python 学习笔记 26.7.28

s = set() num = int(input()) s.add(num) print(s)

a = {10,20,30,40,50} b = int(input()) a.remove(b) print(a)