This Python script reads an array of numbers from a file, doubles each element, writes the doubled numbers to a new file, and calculates the sum of the doubled numbers.
Cuireadh roinnt torthaí i bhfolach toisc go bhféadfadh siad a bheith dorochtana duit
Taispeáin torthaí dorochtana