Answers for "Build some code which can convert from Fahrenheit to Celcius, and also from Celcius to Fahrenheit"

1

how to convert fahrenheit to celsius in python

#!/usr/bin/env python
Celsius = int(raw_input("Enter a temperature in Celsius: "))

Fahrenheit = 9.0/5.0 * Celsius + 32

print "Temperature:", Celsius, "Celsius = ", Fahrenheit, " F"
Posted by: Guest on October-12-2020
-1

how to convert fahrenheit to celsius in python

#!/usr/bin/env python
Fahrenheit = int(raw_input("Enter a temperature in Fahrenheit: "))

Celsius = (Fahrenheit - 32) * 5.0/9.0

print "Temperature:", Fahrenheit, "Fahrenheit = ", Celsius, " C"
Posted by: Guest on October-12-2020

Code answers related to "Build some code which can convert from Fahrenheit to Celcius, and also from Celcius to Fahrenheit"

Python Answers by Framework

Browse Popular Code Answers by Language