import re
from src.IteratorExample import IteratorExample


def test_iterator():
    print('\n')
    my_list = ["a", "b", "c"]
    for x in IteratorExample(my_list):
        print(x, end=' ')

    example = IteratorExample(["a", "b", "c"])
    myit = iter(example)
    while True:
        try:
            item = next(myit)
            print(item, end=' ')
        except StopIteration:
            break


def test_iter():
    my_tuple = ("banana", "mango", "apple")
    myit = iter(my_tuple)
    while True:
        try:
            item = next(myit)
            print(item)
        except StopIteration:
            break

22bd0dc449bddb4c0b1de80ebd0a33aa6999d14b
<mask token>

<mask token>


def test_iter():
    my_tuple = 'banana', 'mango', 'apple'
    myit = iter(my_tuple)
    while True:
        try:
            item = next(myit)
            print(item)
        except StopIteration:
            break

<mask token>


def test_iterator():
    print('\n')
    my_list = ['a', 'b', 'c']
    for x in IteratorExample(my_list):
        print(x, end=' ')
    example = IteratorExample(['a', 'b', 'c'])
    myit = iter(example)
    while True:
        try:
            item = next(myit)
            print(item, end=' ')
        except StopIteration:
            break


def test_iter():
    my_tuple = 'banana', 'mango', 'apple'
    myit = iter(my_tuple)
    while True:
        try:
            item = next(myit)
            print(item)
        except StopIteration:
            break

import re
from src.IteratorExample import IteratorExample


def test_iterator():
    print('\n')
    my_list = ['a', 'b', 'c']
    for x in IteratorExample(my_list):
        print(x, end=' ')
    example = IteratorExample(['a', 'b', 'c'])
    myit = iter(example)
    while True:
        try:
            item = next(myit)
            print(item, end=' ')
        except StopIteration:
            break


def test_iter():
    my_tuple = 'banana', 'mango', 'apple'
    myit = iter(my_tuple)
    while True:
        try:
            item = next(myit)
            print(item)
        except StopIteration:
            break

import re
from src.IteratorExample import IteratorExample


def test_iterator():
    print('\n')
    my_list = ["a", "b", "c"]
    for x in IteratorExample(my_list):
        print(x, end=' ')

    example = IteratorExample(["a", "b", "c"])
    myit = iter(example)
    while True:
        try:
            item = next(myit)
            print(item, end=' ')
        except StopIteration:
            break


def test_iter():
    my_tuple = ("banana", "mango", "apple")
    myit = iter(my_tuple)
    while True:
        try:
            item = next(myit)
            print(item)
        except StopIteration:
            break
