Write a program in Python to convert Celsius into Fahrenheit and vice versa.

First, we need to take input the celsius and use the following formula to convert it into Fahrenheit.

So let’s see the source code of the same.


Enter Celcius: 37.5
Fahrenheit 99.5

Now let’s convert Fahrenheit back to Celsius by using the following formula.

Following is the python source code to convert Fahrenheit to Celsius.


Enter Fahrenheit: 99.5
Celsius 37.5

If you have any suggestion or doubts then comment below.

Leave a Reply

20 − 7 =