ve integer starting at zero and <em>x</em> represents an element of
the sequence.</p>
<p>This example enumerates the characters of the string &quot;Swift&quot; and prints
each character along with its place in the string.</p>
<pre><code class="language-swift">for (n, c) in &quot;Swift&quot;.enumerated() {
    print(&quot;\(n): '\(c)'&quot;)
}
// Prints &quot;0: 'S'&quot;
// Prints &quot;1: 'w'&quot;
// Prints &quot;2: 'i'&quot;
// Prints &quot;3: 'f'&quot;
// Prints &quot;4: 't'&quot;
</code></pre>
<p>When 