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