摘要: 2.1 tempConvert.py TempStr = input("请输入带有符号的温度值:") if TempStr[-1] in ['F', 'f']: C = (float(TempStr[0:-1]) - 32) / 1.8 print("转换后的温度是{:.0f}C".format(C 阅读全文
posted @ 2025-03-16 18:54 邓雁戈 阅读(26) 评论(0) 推荐(0)
摘要: DrawPython.py import turtle turtle.setup(650,350,200,200) turtle.penup() turtle.fd(-250) turtle.pendown() turtle.pensize(25) turtle.pencolor("purple") 阅读全文
posted @ 2025-03-16 18:32 邓雁戈 阅读(27) 评论(0) 推荐(0)