python计算圆的面积
摘要:
引入pi的两种方法: 方法一: import math print(math.pi) 方法二: from math import pi print(pi) 计算圆的面积的代码: #计算圆的面积 from math import pi r=float(input('输入半径的长度:')) area=p 阅读全文
posted @ 2020-03-04 23:35 会迷路的小胖 阅读(29741) 评论(0) 推荐(0)
浙公网安备 33010602011771号