getting rid of characters in an output in python
<p>If someone writes 'james', I want my program to style their name as j*a*m*e*s
I thought it would be simple:</p>

<pre><code>for letter in name:
 print letter+' *',
</code></pre>

<p>but I don't know how to get rid of the last asterix at the end.</p>

<p>I had a friend show me in C though...so I understand the underlying concept, just not how to achieve it.
C is below:</p>

<pre><code>#include &lt;string.h&gt;
#include &lt;stdio.h&gt;

int main(int argc, char* argv[]) {
  int i;

  for ( i = 1; i &lt; argc; i++ ) {
    int len = strlen(argv[i]);
    int j;

    for (j = 0; j &lt; len-1; j++)
      printf("%c*",argv[i][j]);

    printf("%c\n",argv[i][j]);
  }

  return 0;
}
</code></pre>
