title: For loop - Efficient way of print
body: <p>I required some help in correcting the output.</p>
  <p>I am suppose to display an output like this: <code>d:7,s:7,e:6,j:4,w:3</code></p>
  <p>Is there a way to remove the , after the <code>w:3</code>?</p>
  <p><strong>Current code</strong></p>
  <pre class="lang-py prettyprint-override"><code>for i in high:
       print(i[0], &quot;:&quot;, i[1], &quot;,&quot;, end=&quot;&quot;)
  </code></pre>
  <p><strong>Current output</strong></p>
  <pre><code>d:7,s:7,e:6,j:4,w:3, 
  </code></pre>