摘要: 一、计算圆的面积 思路:根据圆面积的计算公式进行求解。 程序代码: 1 import math 2 radius = 25 3 area = math.pi*radius**2 #**是幂运算 4 print(area) 5 print(':.2f'.format(area)) 二、摄氏温度与华氏温 阅读全文
posted @ 2020-04-17 20:36 小机灵鬼的博客 阅读(745) 评论(0) 推荐(0)