title: How to delete all the consecutive characters in a string and print the remaining string?
body: <p>for a string 'mississipie' remove all the consecutive repeating characters and print the remaining.
  <strong>sample input:</strong>
  <code>'mississipie'</code>
  <em><strong>sample output:</strong></em>
  <code>'mpie'</code></p>