human
I am working on the file "PyConFr2017.ipynb".
The first task is:
Peut-on se mocker ?
Can you write Python code for it?
assistant
#Here is the Python code you requested.

class EmptySequence(object):
    
    def __iter__(self): yield
    def __len__(self): return 0
    
es = EmptySequence()

check_iterable(es)