title: Get unique values from a list in python
body: <p>I want to get the unique values from the following list:</p>
  
  <pre><code>['nowplaying', 'PBS', 'PBS', 'nowplaying', 'job', 'debate', 'thenandnow']
  </code></pre>
  
  <p>The output which I require is:</p>
  
  <pre><code>['nowplaying', 'PBS', 'job', 'debate', 'thenandnow']
  </code></pre>
  
  <p>This code works:</p>
  
  <pre><code>output = []
  for x in trends:
      if x not in output:
          output.append(x)
  print(output)
  </code></pre>
  
  <p>is there a better solution I should use?</p>