# -*- coding: utf-8 -*-

#例1.7:将输入的华氏温度换算为摄氏温度

print "Enter temperature in degrees Fahrenheit to convert to Celsius:"
DegreesFahrenheit = input()#获取待转换待摄氏温度值
DegreesCelsius = 5 * (DegreesFahrenheit-32)/9#计算
print DegreesFahrenheit,"degrees Fahrenheit" #结果输出
print "converts to" , DegreesCelsius , "degrees Celsius"#结果输出