From e21a1e69177e759c4b1d781cc456092add287242 Mon Sep 17 00:00:00 2001 From: Bushra Khan Date: Thu, 8 Dec 2022 22:31:33 +0530 Subject: [PATCH 1/3] little change --- searching/linear-search.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/searching/linear-search.py b/searching/linear-search.py index 450d0b6..7c79caf 100644 --- a/searching/linear-search.py +++ b/searching/linear-search.py @@ -11,4 +11,5 @@ if(flag==True): print("Element found") else: - print("Element not found") \ No newline at end of file + print("Element not found!!! sry") + \ No newline at end of file From 4225700c3d4427c65045471c38901d5db8cd5e82 Mon Sep 17 00:00:00 2001 From: Bushra Khan Date: Fri, 9 Dec 2022 16:02:58 +0530 Subject: [PATCH 2/3] second change --- searching/linear-search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searching/linear-search.py b/searching/linear-search.py index 7c79caf..a35b527 100644 --- a/searching/linear-search.py +++ b/searching/linear-search.py @@ -9,7 +9,7 @@ break if(flag==True): - print("Element found") + print("Element found! huarrrayyy") else: print("Element not found!!! sry") \ No newline at end of file From 96ac3d68703fdd4cdebe409d8e76ca8db0909bf6 Mon Sep 17 00:00:00 2001 From: Bushra Khan Date: Fri, 9 Dec 2022 16:05:43 +0530 Subject: [PATCH 3/3] change in binary search! --- searching/binary-search.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/searching/binary-search.py b/searching/binary-search.py index c4dd041..c22560d 100644 --- a/searching/binary-search.py +++ b/searching/binary-search.py @@ -18,4 +18,4 @@ def binary_search(my_list, ele): if pos > 0: print("Element found at", pos) else: - print("Element not found") + print("Element not found!!!")