I am tring a simple linear search in python but it is not working and i can not find what is wrong with my code!!!
n = input("enter a number: ")
arr = [1,42,3,45,5]
count = 0;
for i in range(0, len(arr)):
if(arr[i] == n):
count = count + 1
if(count>0):
print("found")
else:
print("not found")