title: Replace a specific character at a specific position without using loops - Python
body: <p>I am trying to replace a specific character at a specific position in a string. </p>
  
  <p>This need to be accomplished without for loop and use of functions. </p>
  
  <p>Here is an example - need to replace 5th character with x
  <code>
  s = "0123456789012345689"
  Output needs to be - "01234x67890x23456x89"
  </code>
  I have tried replace(), split() but may be I am not using them in correct context. The string could be n characters long so I can't hardcode where I get the specific position and break them down in substrings. String are supposed to be immutable in python so are there any other alternatives? </p>
  
  <p>Any help would be appreciated. Thanks.  </p>