lessons = ["Why Python Programming", "Data Types and Operators", "Control Flow", "Functions", "Scripting"]
def my_enumerate(iterable, start=0):
current = start
for elem in iterable:
yield current, elem
current += 1
for i, lesson in my_enumerate(lessons, 1):
print("Lesson {}: {}".format(i, lesson))
bGVzc29ucyA9IFsiV2h5IFB5dGhvbiBQcm9ncmFtbWluZyIsICJEYXRhIFR5cGVzIGFuZCBPcGVyYXRvcnMiLCAiQ29udHJvbCBGbG93IiwgIkZ1bmN0aW9ucyIsICJTY3JpcHRpbmciXQoKCmRlZiBteV9lbnVtZXJhdGUoaXRlcmFibGUsIHN0YXJ0PTApOgogICAgY3VycmVudCA9IHN0YXJ0CiAgICBmb3IgZWxlbSBpbiBpdGVyYWJsZToKICAgICAgICB5aWVsZCBjdXJyZW50LCBlbGVtCiAgICAgICAgY3VycmVudCArPSAxCgoKZm9yIGksIGxlc3NvbiBpbiBteV9lbnVtZXJhdGUobGVzc29ucywgMSk6CiAgICBwcmludCgiTGVzc29uIHt9OiB7fSIuZm9ybWF0KGksIGxlc3Nvbikp