diff --git a/data_structures/2_Arrays/Solution/3_odd_even_numbers.py b/data_structures/2_Arrays/Solution/3_odd_even_numbers.py index ec1c4b7..80b2922 100644 --- a/data_structures/2_Arrays/Solution/3_odd_even_numbers.py +++ b/data_structures/2_Arrays/Solution/3_odd_even_numbers.py @@ -2,7 +2,7 @@ odd_numbers = [] -for i in range(1, max): +for i in range(1, max + 1): if i % 2 == 1: odd_numbers.append(i)