lessons = ["Why Python Programming", "Data Types and Operators", "Control Flow", "Functions", "Scripting"]

def my_enumerate(iterable, start=0):
    i = start
    for it in iterable:
        yield (i, it)
        i += 1


for i, lesson in my_enumerate(lessons, 1):
    print("Lesson {}: {}".format(i, lesson))


def chunker(iterable, size):
    for i in range(0, len(iterable), size):
        yield iterable[i:i + size]


for chunk in chunker(range(25), 4):
    print(list(chunk))
dd6435a1b1be116119cea072b633c13428c870b0
<mask token>


def chunker(iterable, size):
    for i in range(0, len(iterable), size):
        yield iterable[i:i + size]


<mask token>

<mask token>


def my_enumerate(iterable, start=0):
    i = start
    for it in iterable:
        yield i, it
        i += 1


<mask token>


def chunker(iterable, size):
    for i in range(0, len(iterable), size):
        yield iterable[i:i + size]


<mask token>

<mask token>


def my_enumerate(iterable, start=0):
    i = start
    for it in iterable:
        yield i, it
        i += 1


for i, lesson in my_enumerate(lessons, 1):
    print('Lesson {}: {}'.format(i, lesson))


def chunker(iterable, size):
    for i in range(0, len(iterable), size):
        yield iterable[i:i + size]


for chunk in chunker(range(25), 4):
    print(list(chunk))

lessons = ['Why Python Programming', 'Data Types and Operators',
    'Control Flow', 'Functions', 'Scripting']


def my_enumerate(iterable, start=0):
    i = start
    for it in iterable:
        yield i, it
        i += 1


for i, lesson in my_enumerate(lessons, 1):
    print('Lesson {}: {}'.format(i, lesson))


def chunker(iterable, size):
    for i in range(0, len(iterable), size):
        yield iterable[i:i + size]


for chunk in chunker(range(25), 4):
    print(list(chunk))

lessons = ["Why Python Programming", "Data Types and Operators", "Control Flow", "Functions", "Scripting"]

def my_enumerate(iterable, start=0):
    i = start
    for it in iterable:
        yield (i, it)
        i += 1


for i, lesson in my_enumerate(lessons, 1):
    print("Lesson {}: {}".format(i, lesson))


def chunker(iterable, size):
    for i in range(0, len(iterable), size):
        yield iterable[i:i + size]


for chunk in chunker(range(25), 4):
    print(list(chunk))