Python Program to Convert Celsius To Fahrenheit


Python Program to Convert Celsius To Fahrenheit


#Declare one variable and assign value 100 to variable celsius.

celsius = 100

# calculate fahrenheit using below formula

fahrenheit = (celsius * 9 / 5) + 32;
print(' %0.1f degree Celsius is equal to %0.1f degree Fahrenheit ' %(celsius,fahrenheit))

 

Output:-

 

 

 


 

Leave a Reply

Your email address will not be published. Required fields are marked *