摘要: 1 #!/usr/bin/env python3 2 # -*- coding: utf-8 -*- 3 4 #01 温度转换 5 while True: 6 val = input("请输入带温度表示符号的温度值(例如:32C): ") 7 if val[-1] in ['C','c']: 8 f = 1.8 * float(val[0:-1]... 阅读全文
posted @ 2017-10-27 11:26 hayden__wang 阅读(279) 评论(0) 推荐(0) 编辑