摘要:
__author__ = 'daitr'#--coding:utf-8--import datetime#方法一:#a=[2,3,4,5]#b=[2,5,8]#tmp = [val for val in a if val in b]#print tmp##[2, 5]#方法二#print list(set(a).intersection(set(b)))#print list(set(a).union(set(b)))#print list(set(b).difference(set(a))) # b中有而a中没有的a,b= [],[]for i in range(1,6000 阅读全文
posted @ 2013-07-24 12:10
呆头龙
阅读(1118)
评论(0)
推荐(0)
浙公网安备 33010602011771号