If i have two arrays & i want to compare their indexes, for ex:
let var a1 = ["1", "2", "3"]
let var a2 = ["3", "2", "3"]
And i wanted to print something to say which index wasn't the same, such as:
if a1[0] != a2[0] && a1[1] == a2[1] && a1[2] == a2[2]{
print("Index 0 is not the same.")
Would i have to write 7 more of those statements to show all 8 possibilities of all correct/all wrong/index 1&1 wrong, etc?
Thank you!