title: Linear Search in python
body: <pre><code>def search_linear(x,y):
    n = len( x )
    for i in range(n):
  
    if theValue[i] == y:
          return True
  
    return false
  
  def main():
    mainValues =int( input("enter the nos first"))
    mV = mainValues.list()
  
    trgt =int( input('enter a single number to be found in the list'))
    def search_linear(mainValues, trgt)
  </code></pre>
  
  <p>This is a simple linear search program I wrote. When run, it says <code>invalid syntax</code> on line 17, which points to <code>trgt = ...</code>. 
  I do not understand where I am going wrong. </p>
  
  <p>I write the searching function and in main function assign the values. Such a simple program</p>