Write a Python Program to Convert Celsius to Fahrenheit. This python example allows entering the temperature in Celsius and converts it to Fahrenheit using a math formula.
# Celsius to Fahrenheit celsius = float(input("Please Enter the Temperature in Celsius = ")) fahrenheit = (1.8 * celsius) + 32 //fahrenheit = ((celsius * 9)/5) + 32 print("%.2f Celsius Temperature = %.2f Fahrenheit" %(celsius, fahrenheit))
