title: Need help comparing and displaying numbers
body: <p>I'm trying to compare my input with a list of numbers.</p>
  
  <p>I put the print("2") in the code to see if what I did was correct, but I keep getting an error.</p>
  
  <p>This is what I have so far:</p>
  
  <pre><code>list_a = [2,4,6,8,10,12]
  number = input("Input a number:",)
  
  def main(list_a,number):
      print("The Numbers in the list are:",list_a)
      for x in list_a:
          if number &lt; x:
              print("2")
  
  main(list_a, number)
  </code></pre>