摘要: ``` data_list=[] col=["a", "b", "c", "d"] jdata={"a":1, "b":2, "c":3, "d":4} for j in jdata: result=[ j[h] and j.setdefault(h) if h in j.keys() else None for h in col] data_list.append(tuple... 阅读全文
posted @ 2019-11-06 14:11 hank-li 阅读(1676) 评论(0) 推荐(0) 编辑