Enumerate can be used to tracking indices—with custom starting points.
#pythonTricks #python #pythonprogramming
---
# Enumerate with a custom start index
my_list = ['Python', 'Rocks', 'Hard']
for index, value in enumerate(my_list, start=100):
print(f"{index}: {value}")
---