diff --git a/Search_ing/linear-search.py b/Search_ing/linear-search.py new file mode 100644 index 0000000..47c60f0 --- /dev/null +++ b/Search_ing/linear-search.py @@ -0,0 +1,16 @@ +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 diff --git a/machine-learning/helloworld.py b/machine-learning/helloworld.py new file mode 100644 index 0000000..0e3295e --- /dev/null +++ b/machine-learning/helloworld.py @@ -0,0 +1,3 @@ +# This program prints Hello, world! + +print('Hello, world!')