<filename>Python/Linear_Search.py
def linearSearch(arr,index):
 if index in arr:
 print('Element is present in array')
 else:
 print('Not Found')
if __name__ == "__main__":
 print('Enter the list of the numbers:')
 arr = map(int,input().split())
 arr = list(arr)
 index = int(input('Enter the index element to search: '))
 linearSearch(arr,index)

<filename>Python/Linear_Search.py
def linearSearch(arr,index):
 if index in arr:
 print('Element is present in array')
 else:
 print('Not Found')
if __name__ == "__main__":
 print('Enter the list of the numbers:')
 arr = map(int,input().split())
 arr = list(arr)
 index = int(input('Enter the index element to search: '))
 linearSearch(arr,index)
