A place to start, without coding the solution for you. Post your code for help with further problems.
main_list = [['a', 'b', 'c', 'd'], ['e', 'f'], ['g', 'h']]
for each_list in main_list:
print "\n New List"
for ctr in range(len(each_list)):
print ctr, each_list[ctr]