Python Program to Convert Celsius to Fahrenheit

In this post, we are going to make a Python Program to Convert Celsius to Fahrenheit.  C° to F°: Formula to convert Celsius to Fahrenheit 

F=1.8C+32

Multiply the given degree Celsius temperature by 1.8 and add 32.

For example: let the temperature is 50-degree Celsius.
(50°C × 1.8) + 32 = 122°F

Python Program to Convert Celsius to Fahrenheit

celsius=input("Enter Temperature in Degree Celsius: ")
celsius=int(celsius)
fahrenheit=(1.8*celsius)+32
print("Temperature in Fahrenheit: ",fahrenheit)
Output:

Enter Temperature in Degree Celsius: 33
Temperature in Fahrenheit: 91.4

Conclusion:

In this post, we made a python program to convert the given degree Celsius temperature to Fahrenheit. If you have any doubts let me know in the comment section or you can dm to our Instagram account.

Related Post:
Python program for Fibonacci series
Python program for simple interest

Related Posts

Post a Comment