setp = set(["Red", "Green"]) setq = setp.copy() print(setq) setp.clear() print(setq) 转载于:https://www.cnblogs.com/sea-stream/p/9949636.html