# python中set函数基本用法示例(编程之家 jb51.cc整理) se = {11,22,33} be = {22,44,55} temp=se.union(be) #取并集,并赋新值 print(se) #{33,11,22} print(temp) #{33,55,44} # 来自jb51.cc