diff --git a/serching/linear-serching.py b/serching/linear-serching.py new file mode 100644 index 0000000..31493a8 --- /dev/null +++ b/serching/linear-serching.py @@ -0,0 +1,13 @@ +my_list ={4,8,3,7,1,0,9} +ele=int(input()) + +flag =False +for i in my_list: + if(i==ele): + flag=True + break + +if(flag==True): + Print("Element found") +else: + Print("Element not found") \ No newline at end of file