(一)
取出列表交集
def get_same_list(list1,list2): return [l for l in list1 if l in list2] print get_same_list([2,3,4,5],[3,7,8,9,78])