>>> for i in range(10):
print('%3d' %i, end='')
0 1 2 3 4 5 6 7 8 9
>>> data = [16, 25, 39, 27, 12, 8, 45, 63]
>>> l = len(data)
>>> l
8
>>> for i in range(l):
print('%3d' %data[i], end='')
16 25 39 27 12 8 45 63