Count duplicates between 2 lists

后端 未结 0 753
谎友^
谎友^ 2020-12-18 03:06
a = [1, 2, 9, 5, 1]
b = [9, 8, 7, 6, 5]

I want to count the number of duplicates between the two lists. So using the above, I want to return a coun

相关标签:
回答
  • 消灭零回复
提交回复
热议问题