title: how to skip a specific char in string(encrypted in a certain manner) message while printing the message in a specific format in python
body: <p>In a certain encrypted message which has information about the location(area, city), the characters are jumbled such that first character of the first word is followed by the first character of the second word, then it is followed by the second character of the first word and so on</p>
  
  <p>In other words, let’s say the location is bandra,mumbai</p>
  
  <p>The encrypted message says <code>‘bmaunmdbraai’</code>.</p>
  
  <p>Sample Input:</p>
  
  <p><code>bmaunmdbraai</code></p>
  
  <p>Sample Output:</p>
  
  <p><code>bandra,mumbai</code></p>
  
  <p>Let’s say the size or length of the two words wouldn’t match then the smaller word is appended with # and then encrypted in the above format.</p>
  
  <p>With this in mind write a code to identify the right location and print it as place,city.</p>
  
  <pre><code>input_str='dmeulmhbia#i'
  message1=input_str[0::2]
  message2=input_str[1::2]
  print(message1+","+message2)
  </code></pre>