<gh_stars>0
#!/usr/bin/env python

def main():
    def get_odds():
        for number in range(1, 10, 2):
            yield number

    for count, number in enumerate(get_odds(),1):
        if count == 3:
            print("The third odd number is", number)
            break

if __name__ == '__main__':
    main()

#!/usr/bin/env python

def main():
    def get_odds():
        for number in range(1, 10, 2):
            yield number

    for count, number in enumerate(get_odds(),1):
        if count == 3:
            print("The third odd number is", number)
            break

if __name__ == '__main__':
    main()
#!/usr/bin/env python