title: Removing string from a list by using a rule
body: <p>I am trying to write the list below into a txt file in Python.
  However, im also trying to remove the ones that has 'xxx' from the list. preferably by using some sort of a if function. So like if a url has 'xxx' remove from list.
  Any idea on how to approach this issue?</p>
  
  <pre><code>TTF = ('abc.com/648','xxx.com/246','def.com/566','ghi.com/624','xxx.com/123')
  </code></pre>