日期:2014-05-16 浏览次数:20629 次
for elem1 in arr1 { for elem2 in arr2 {if(arr1[elem1] == arr2[elem2]){}} } ------解决方案--------------------根据你的描述大概是:
for i in a { if (a[i]==b[i]){} }