diff --git a/72 Binary search using Python.txt b/72 Binary search using Python.txt index 143e2a2..590d480 100644 --- a/72 Binary search using Python.txt +++ b/72 Binary search using Python.txt @@ -16,9 +16,9 @@ def search(list, n): return True else: if list[mid] < n: - l = mid+1; + l = mid+1 else: - u = mid-1; + u = mid-1 return False @@ -29,4 +29,4 @@ n = 10 if search(list, n): print("Found at ",pos+1) else: - print("Not Found") \ No newline at end of file + print("Not Found")