# Temperature Converter in Python Machine Problem in Python

Create a program to convert fahrenheit to celsius and vice versa.

Formula:

(__°C × 9/5) + 32 = __°F

(__°F − 32) × 5/9 = __°C

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me at the following email address for further details.  If you want to advertise on my website, kindly contact me also at my email address also. Thank you.

My mobile number here in the Philippines is 09173084360.

Program Listing

``````# mod1_act1.py
# Author : Jake R. Pomperada

fahrenheit = 120.25
celsius = 37.38

# calculate temperature in Celsius
celsius_to_fahrenheit = (fahrenheit - 32) * 5/9

# calculate temperature in Fahrenheit
fahrenheit_to_celsius = (celsius * 1.8) + 32

print()
print(celsius,u"\N{DEGREE SIGN} celsius is",round(celsius_to_fahrenheit,2),u"\N{DEGREE SIGN} fahrenheit")
print()
print(fahrenheit,u"\N{DEGREE SIGN} fahrenheit is",round(fahrenheit_to_celsius ,2),u"\N{DEGREE SIGN} celsius")``````