title: Values in python dictionary getting converted to double quotes rather than single quotes
body: <p>I have a dictionary with the below values :-</p>
  
  <pre><code>test_dict = {'a': ['a1', 'a2'], 'b': ['1.1.1.1:1111', '2.2.2.2:2222', '3.3.3.3:3333,4.4.4.4:4444', '5.5.5.5:5555']}
  </code></pre>
  
  <p>I need to replace the comma (<code>,</code>) between <code>3.3.3.3:3333</code> and <code>4.4.4.4:4444</code> with (<code>',</code>) which is (single quote comma space) like that of the others.</p>
  
  <p>I tried the code below but the output is coming with double quotes (<code>"</code>)</p>
  
  <pre><code>val = ','
  valnew = '\', \''  # using escape characters - all are single quotes
  for k, v in test_dict.items():
      for i, s in enumerate(v):
          if val in s:
             v[i] = s.replace(val, valnew)
  
  print(test_dict)
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>{'a': ['a1', 'a2'], 'b': ['1.1.1.1:1111', '2.2.2.2:2222', "3.3.3.3:3333', '4.4.4.4:4444", '5.5.5.5:5555']}
  </code></pre>
  
  <p>Expected Output:</p>
  
  <pre><code>{'a': ['a1', 'a2'], 'b': ['1.1.1.1:1111', '2.2.2.2:2222', '3.3.3.3:3333', '4.4.4.4:4444', '5.5.5.5:5555']}
  </code></pre>
  
  <p>Please suggest.</p>