diff --git a/Python/LinearSearch.py b/Python/LinearSearch.py new file mode 100644 index 0000000..520308d --- /dev/null +++ b/Python/LinearSearch.py @@ -0,0 +1,6 @@ +def LinearSearch(arr, val): + for i in range(len(arr)): + if arr[i] == val: + return True + + return False \ No newline at end of file