diff --git a/README.md b/README.md index 600bced..b9524e6 100644 --- a/README.md +++ b/README.md @@ -4,3 +4,4 @@ This tutorial covers data structures and algorithms in python. Every tutorial ha To watch the videos, you can go check the playlist out at: https://www.youtube.com/playlist?list=PLeo1K3hjS3uu_n_a__MI_KktGTLYopZ12 To subscribe to codebasics youtube channel: https://www.youtube.com/c/codebasics +----- 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..688003b 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) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy