title: problem with replacing (part of) string by iterating through list (Python)
body: <p>There must be a simple answer to this...Python newbie here.</p>
  <pre><code>country_list = [('KOREA, REPUBLIC OF','KOREA'),('RUSSIAN FEDERATION','RUSSIA'),('TAIWAN, PROVINCE OF CHINA','TAIWAN'),('BOLIVARIAN REPUBLIC OF','BOLIVIA'),('CÔTE D\'IVOIRE','IVORY COAST')]
  korea = ('KOREA, REPUBLIC OF','KOREA')
  s1= 'I like KOREA, REPUBLIC OF'
  s2 = s1.replace(korea[0],korea[1])
  for country in country_list:
     s3 = s1.replace(country[0],country[1])
  print('s2:',s2)
  print('s3:',s3)
  </code></pre>
  <p>When I run this, s2 is what I expect:  'I like KOREA'.
  But s3 remains the same as s1, when I expected it to be the same as s2.  In other words, nothing gets replaced.
  What am I doing wrong?
  Here's the output:</p>
  <pre><code>s2: I like KOREA
  s3: I like KOREA, REPUBLIC OF
  </code></pre>
  <p>(If I use lists instead of tuples to hold my country names, I get the same results.)</p>
  <p>(By way of background, I've actually got a long list of sublists, the latter containing strings, with country names occupying a specific place in each sublist.  So I was planning to iterate through country_list and use the replace() method...but it doesn't seem to work, for some reason.)</p>
  <p>EDIT/UPDATE:
  Based on answers below (thank you!) I've realised that one way to solve this is:</p>
  <pre><code>s3 = s1
  for country in country_list:
     s3 = s3.replace(country[0],country[1])
  print('s2:',s2)
  print('s3:',s3)
  </code></pre>