day3--集合、文件操作、字符编码与转换、函数(递归,lambda,filter,map)、字典排序...
list1=set([1,2,3,4,5,6,5,5,5])list2=set([11,2,36,'a',5,6,5,5,5])list3=set([1,2,3])list4=set(['a','b','c'])求交集print(list1.intersection(list2))print(list1&list2)输出{2,5,6}求并集print(list1.union(list2))prin