[Solved] Making new list of lists from elements of some other lists


A pythonic implementation.

[i.append(Origin[0][0]) for i in Points]
print [[item1[0],item1[-1],item2] for item1,item2 in zip(Points,Distance)]

Result

[['A', 'J', 0.28], ['B', 'J', 0.23], ['C', 'J', 0.3], ['D', 'J', 0.22], ['E', 'J', 0.75], ['F', 'J', 0.37], ['G', 'J', 0.17], ['H', 'J', 0.09], ['I', 'J', 0.13], ['J', 'J', 0.0]]

solved Making new list of lists from elements of some other lists