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