00004-20180324-20180517-fahrenheit_converter--华氏温度到摄氏温度转换计算器
1 def fahrenheit_converter(C): 2 fahrenheit = C * 9/5 + 32 3 return str(fahrenheit) + '℉' 4 while True: 5 centigrade_degree = input("请输入摄氏温度数值:") 6 #print(cc) 7 C2F = fahrenheit_converter(int(centigrade_degree)) 8 print(C2F) 9 continue