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()
.
This repository was archived by the owner on Aug 8, 2022. It is now read-only.