title: Comparing number with list in python
body: <p>I want to number value with numbers in list and print that number if at least one element of list is same.Something like  this:</p>
  
  <pre><code>a= 1234
  list = [12,21,32,12345,42394293489,12345,1234,9999]
  
  if(something on list ==a):
   print a
  </code></pre>
  
  <p>and script in this example should do:</p>
  
  <pre><code>a!=list[0]
  a!=list[1]
  a!=list[2]
  a!=list[3]
  a!=list[4]
  a!=list[5]
  a==list[6]  # ok 
  print a
  </code></pre>