Really, that's easy peasy? Looks terrible to a Python programmer. :-)
with open('input') as fin, open('output', 'w') as fout:
for line_num, line in enumerate(fin, 1):
fout.write('{0}\n'.format(int(line) * line_num))