Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Write a program that will take a file named Celsius.dat that contains a list of temperatures in Celsius (one per line), and will create a file Fahrenheit.dat that contains the same temperatures (one per line, in the same order) in Fahrenheit.
- c_file = open("Celsius.dat","w+")
- f_file = open("Fahrenheit.dat","w+")
- c_read = c_file.read()
- print(c_read)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement