Fahrenheit to Celsius in Python

Description

Python program to get Fahrenheit F from user and find celsius C
Sample Input 1:
92.2
Sample Output 1:
33.44

Solution

f=float(input("Enter Fahrenhiet:"))
c=(f-32)*0.5556
print("Celsius: %.2f" % c)

Explanation

Get Fahrenheit f as input (using input() method)

Calculate Celsius c using Formula c=(f-32)*0.5556

print Celcius c (using print() method).