>>> moji
['a', 'b', 'c', 'd', 'e']
0 a
for i,v in enumerate(moji):
print i, v
1 b
2 c
3 d
4 e
>>> index_moji
for i, v in enumerate(moji):
index_moji.append("%d, %s" % (i, v))
['0, a', '1, b', '2, c', '3, d', '4, e']
>>> index_moji
for i, v in enumerate(moji):
a = ["%d, %s" % (i, v)]
index_moji.append(a)
[['0, a'], ['1, b'], ['2, c'], ['3, d'], ['4, e']]
>>> index_moji
for i, v in enumerate(moji):
a = [i, v]
index_moji.append(a)
[[0, 'a'],[1, 'b'], [2, 'c'], [3, 'd'], [4, 'e']]
>>> moji
['a', 'b', 'c', 'd', 'e']
>>> index_moji
[[0, 'a'],[1, 'b'], [2, 'c'], [3, 'd'], [4, 'e']]
>>> len(moji)
5
>>> len(index_moji)
5
5