names = ["john", "doe", "jane", "plane"] for idx in range(len(names)): print(idx, names[idx])