Skip to content
Home » Python program to convert Celsius into Fahrenheit

Python program to convert Celsius into Fahrenheit

Below is the code to convert Celsius into Fahrenheit

# to convert celsius into fahrenheit
c=float(input("Enter temperature in celsius:"))
f=(c*9/5)+32
print(c,"Celsius=",f,"Fahrenheit")

Output:

Enter temperature in celsius:27
27.0 Celsius= 80.6 Fahrenheit