title: Printing every other letters of a string without the spaces on Python
body: <p>I am trying to build a function that will take a string and print every other letter of the string, but it has to be without the spaces.</p>
  <p>For example:</p>
  <pre><code>def PrintString(string1):
      for i in range(0, len(string1)):
          if i%2==0:
              print(string1[i], sep=&quot;&quot;)
  
  PrintString('My Name is Sumit')
  </code></pre>
  <p>It shows the output:</p>
  <pre><code>M
   
  a
  e
  i
   
  u
  i
  </code></pre>
  <p>But I don't want the spaces. Any help would be appreciated.</p>