title: In python insert one space after every 5th Character in each line of a text file
body: <p>I am reading a text file in python(500 rows) and it seems like:</p>
  
  <pre><code>File Input:
  0082335401
  0094446049
  01008544409
  01037792084
  01040763890
  </code></pre>
  
  <p>I wanted to ask that is it possible to insert one space after 5th Character in each line:</p>
  
  <pre><code>Desired Output:
  00823 35401
  00944 46049
  01008 544409
  01037 792084
  01040 763890
  </code></pre>
  
  <p>I have tried below code</p>
  
  <pre><code>st = " ".join(st[i:i + 5] for i in range(0, len(st), 5)) 
  </code></pre>
  
  <p>but the below output was returned on executing it:</p>
  
  <pre><code>00823 35401 
  0094 44604 9
  010 08544 409
  0 10377 92084 
  0104 07638 90
  </code></pre>
  
  <p>I am a novice in Python. Any help would make a difference.</p>