Skip to content
This repository was archived by the owner on Aug 8, 2022. It is now read-only.

Files

Latest commit

79a49ea · Jan 25, 2018

History

History
This branch is 23 commits 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().