Question: Using Python 2 Exercise 4.4: Read and write several numbers from and to file This is a variant of Exercise 4.3 where we have several

Using Python 2
Using Python 2 Exercise 4.4: Read and write several numbers from and

Exercise 4.4: Read and write several numbers from and to file This is a variant of Exercise 4.3 where we have several Fahrenheit degrees in a file and want to read all of them into a list and convert the numbers to Celsius degrees. Thereafter, we want to write out a file with two columns, the left with the Fahrenheit degrees and the right with the Celsius degrees. An example on the input file format looks like Temperature data Fahrenheit degrees: 67.2 Fahrenheit degrees: 66.0 Fahrenheit degrees: 78.9 Fahrenheit degrees: 102.1 Fahrenheit degrees: 32.0 Fahrenheit degrees: 87.8

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!