Write a function that writes a temperature conversion table called tempConv.txt. The table should include temperatures from −300 to 212 degrees Fahrenheit and their Celsius equivalents, presented in two columns with appropriate headings. Each column should be 10 characters wide, and each temperature should have 3 digits to the right of the decimal point.
PYHON ONLY!!! NO JAVA, THAT DOES NOT HELP
Program:
#fTemp - Fahrenheit
#cTemp - Celsius
def conversion():
output="Fahrenhiet Celsius\n"
for fTemp in range(-300,213):
cTemp=(fTemp-32)* 5/9
output=output+"{:10.3f}".format(fTemp)+" "
output=output+"{:10.3f}".format(cTemp)+"\n"
txtFile=open("tempConv.txt","w")
txtFile.write(output)
print("temperatures stored succefully!!")
txtFile.close();
conversion()
Program Screenshot:

Output:


Write a function that writes a temperature conversion table called tempConv.txt. The table should include temperatures...