title: How do i search for 2 of the same numbers in a list? (python)
body: <p>Lets say my list consists of <code>n = [0,1,0,2,2,0,0]</code></p>
  
  <pre><code>if 2 in n and 2 in n
  print ("There are 2's")
  
  elif 2 in n
  print ("just one 2")
  </code></pre>
  
  <p>how do i make it find both 2's before print statement, otherwise it just prints it if theres just onw</p>