diff --git a/algorithms/1_BinarySearch/index.py b/algorithms/1_BinarySearch/index.py new file mode 100644 index 0000000..e69de29 diff --git a/algorithms/index.py b/algorithms/index.py new file mode 100644 index 0000000..e69de29 diff --git a/data_structures/2_Arrays/Solution/index.py b/data_structures/2_Arrays/Solution/index.py new file mode 100644 index 0000000..6faa799 --- /dev/null +++ b/data_structures/2_Arrays/Solution/index.py @@ -0,0 +1,8 @@ +max = int(input('Enter max number:')) + +odd_numbers = [] + +for i in range(1, max): + if i % 2 ==1: + odd_numbers.append(i) +print('Odd numbers: ', odd_numbers) \ No newline at end of file