title: Find the unique number - Codewars
body: <p>I am trying to finish this kata on Codewars:
  <a href="https://i.stack.imgur.com/PxHDV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PxHDV.png" alt="enter image description here" /></a></p>
  <p>Here's my code suggestion:</p>
  <pre><code>import numpy as np
  
  def find_uniq(arr):
      search_array = np.array(arr)
      print(search_array)
      unique = 0
      for number in search_array:
          if number != search_array[0]:
              unique = number
      print(unique)
      return unique
  </code></pre>
  <p>Here's what happens when:</p>
  <p>1 - I press &quot;Test&quot;: <a href="https://i.stack.imgur.com/9JO9t.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9JO9t.png" alt="enter image description here" /></a></p>
  <p>2 - I press &quot;Attempt&quot;: <a href="https://i.stack.imgur.com/gEMXL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gEMXL.png" alt="enter image description here" /></a></p>
  <p>So, I'm not able to finish this damn kata because there's that &quot;1 should equal 0 problem&quot;.
  I've lost so much time thinking about what may be wrong with this, I am about to give up :(</p>
  <p>Thoughts?</p>