我想获取两个列表并找到两者中出现的值.
a = [1, 2, 3, 4, 5] b = [9, 8, 7, 6, 5] returnMatches(a, b)
[5]例如,会回来.
[5]
python list
list ×1
python ×1