Swift 3 comparing array indexes
<p>If i have two arrays &amp; i want to compare their indexes, for ex:</p>

<pre><code>let var a1 = ["1", "2", "3"]
let var a2 = ["3", "2", "3"]
</code></pre>

<p>And i wanted to print something to say which index wasn't the same, such as:</p>

<pre><code>if a1[0] != a2[0] &amp;&amp; a1[1] == a2[1] &amp;&amp; a1[2] == a2[2]{
print("Index 0 is not the same.")
</code></pre>

<p>Would i have to write 7 more of those statements to show all 8 possibilities of all correct/all wrong/index 1&amp;1 wrong, etc?</p>

<p>Thank you!</p>