头歌实践教学平台
Python学习——while循环生成温度转换表
# 请在下面的Begin-End之间按照注释中给出的提示编写正确的代码
########### Begin ###########
# 使用while循环并按照输出格式打印出摄氏-华氏温度对应表
temp=min_temp
while temp<=max_temp:
hua=temp*1.8+32
print("%d ---> %f"%(temp,hua))
temp+=1
########### End ###########