列表推导式,两个for循环的例子
摘要:[a for a in alist for b in blist if a>b] for i in alist,blist: print(i) >> alist[] >> blist[]
阅读全文
posted @ 2017-06-30 11:22
posted @ 2017-06-30 11:22
posted @ 2017-06-30 09:27
posted @ 2017-06-23 17:56
posted @ 2017-06-21 10:40
posted @ 2017-06-18 21:44
posted @ 2017-06-14 14:49
posted @ 2017-06-12 18:23