调试以下程序,选择正确答案 temp_str 1 input("请输入带符号的温度值,如'23c','34f'") if temp_str[-1] in ['F', 'f']: temp_Cels = (eval(temp_str[0:-1]) - 32) / 1.8 print("转换后的温度是 %.2f摄氏度" % 2 ) elif temp_str[-1] in ['C', 'c'] 3 temp_Farhr = 1.8 * eval(temp_str[0:-1]) + 32 print("准换后的温度是{:.2f}华氏度".format(temp_Farhr)) else: print("格式错误")