python iterator in my class code example Example: create iterator object python iterable = ['Apple', 'Banana', 'Cherry'] iter(iterable)