Python Program to Convert Celsius To Fahrenheit and Celsius To Fahrenheit
In this tutorial, you will learn how to write Python Program to Convert Celsius To Fahrenheit andĀ Celsius To Fahrenheit.
Fahrenheit to Celsius formula:
C =(F – 32) x 5/9
Program:
In this program, we are using simple arithmetic operators to execute this program
F = 42
C= (F - 32) * 5/9
print ("Celsius value", C)
Output:
Celsius to Fahrenheit formula:
F =(CĀ x 9/5 ) +32
Program :
C=5.55555
F =(C*9/5)+32
print ("Fahrenheit value", F)
Output: