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()
.
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()
.