
class ToDo(object):

    _list = []

    def __init__(self, *args):
        self._list.extend(args)

    def __len__(self):
        return len(self._list)


todo = ToDo('go to work', 'buy new notebook', 'pay bills')
print("Total:{}".format(len(todo)))


1453dab4ae3396874f30eb8807ee793fb7d8a335
class ToDo(object):
    <mask token>
    <mask token>

    def __len__(self):
        return len(self._list)


<mask token>

class ToDo(object):
    _list = []

    def __init__(self, *args):
        self._list.extend(args)

    def __len__(self):
        return len(self._list)


<mask token>

class ToDo(object):
    _list = []

    def __init__(self, *args):
        self._list.extend(args)

    def __len__(self):
        return len(self._list)


<mask token>
print('Total:{}'.format(len(todo)))

class ToDo(object):
    _list = []

    def __init__(self, *args):
        self._list.extend(args)

    def __len__(self):
        return len(self._list)


todo = ToDo('go to work', 'buy new notebook', 'pay bills')
print('Total:{}'.format(len(todo)))


class ToDo(object):

    _list = []

    def __init__(self, *args):
        self._list.extend(args)

    def __len__(self):
        return len(self._list)


todo = ToDo('go to work', 'buy new notebook', 'pay bills')
print("Total:{}".format(len(todo)))

