我有两个 python 列表。
A= ['today is sunday', 'today is wednesday']
B= ['today is sunday', 'today is
Monday'....'today is Saturday']
For elm in A:
If elm in B:
print ("not ok")
else:
print ("ok")
我想计算两个 python 列表之间元素匹配的百分比。
所需的匹配百分比计算如图所示:
月关宝盒
互换的青春
相关分类