python 一行 if else for
pulplist = [{'box':[1,2,3,4], 'score':0.6},{'box':[1,2,3,4], 'score':0.7},{'box':[1,2,3,4], 'score':0.8},{'box':[1,2,3,4], 'score':0.9}]
returnList = [pulp if pulp['score'] > 0.7 else None for pulp in pulplist]
print(returnList)