Skip to main content

10.10) Exercise 27 - Writing a File


  • Read in the file vector1.txt into a list of floats.
  • Double the values in the list
  • Write the new data in a file so that each value in the list is on an individual line.

Solution : read_write_data.py