title: Add item into array if not already in array
body: <p>How can I insert item into the array if its not already there?</p>
  
  <p>This is what I tried:</p>
  
  <pre><code>    [..]
      k = []
      for item in myarray:
          if not item in k:
               print("Item is in array already.")
               k[] = item
  </code></pre>