Skip to content

Files

Latest commit

79a49ea · Jan 25, 2018

History

History
This branch is 1 commit behind csc-training/hpc-python:master.

input-output

Input and output

File xy-coordinates.dat contains a list of (x,y) value pairs. Read the data with numpy.loadtxt(). Add then 2.5 to all y values and write the new data into a file using numpy.savetxt().