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()
.
Files
Latest commit
This branch is 1 commit behind csc-training/hpc-python:master.
input-output
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||