Professional Documents
Culture Documents
#11330370 吴芷昕 a=float (input ("请输入摄氏温度:") ) b=a* (9/5) +32 if b<=50: print ("寒冷") elif b<77: print ("凉爽") else: print ("炎热") 请输入摄氏温度:15 15.00c =59.00F 凉爽
#11330370 吴芷昕 a=float (input ("请输入摄氏温度:") ) b=a* (9/5) +32 if b<=50: print ("寒冷") elif b<77: print ("凉爽") else: print ("炎热") 请输入摄氏温度:15 15.00c =59.00F 凉爽
ipynb - Colaboratory
#11330370 吴芷昕
a=float(input("请输入摄氏温度:"))
b=a*(9/5)+32
print("%.2fc =%.2fF"%(a,b))
if b<=50:
print("寒冷")
elif b<77:
print("凉爽")
else:
print("炎热")
请输入摄氏温度:15
15.00c =59.00F
凉爽
https://colab.research.google.com/drive/15i7N6ZgxNHpi8rHMO0CY86oJeaIFCTIj#printMode=true 1/2
2023/4/17 上午10:02 Untitled3.ipynb - Colaboratory
Colab 付費產品
-
按這裡取消合約
check 3 秒 完成時間:上午9:58
https://colab.research.google.com/drive/15i7N6ZgxNHpi8rHMO0CY86oJeaIFCTIj#printMode=true 2/2