Calculating the quotient between two files and writing it into another file
问题 Using Python, I have two large (equally long) files in which the numbers are divided by spaces: 0.11158E-13 0.11195E-13 0.11233E-13 ... # file1 0.11010E-13 0.11070E-13 0.11117E-13 ... # file2 There are differences in the values and I would like to get the relative differences and writing them in the same format into a third file. I can do it for the first value but have problem when it comes to ITERATING the process (so that all values are computed). This is the code (I am new to the python