摄氏度转化成华氏
x = input("输入摄氏温度:")
y = int(x)*9/5 +32
input("当摄氏温度为:{0}时,华氏温度:+{1}".format(x,y))
摄氏度转化成华氏
x = input("输入摄氏温度:")
y = int(x)*9/5 +32
input("当摄氏温度为:{0}时,华氏温度:+{1}".format(x,y))
转载于:https://www.cnblogs.com/sunyubin/p/9577557.html