题解 | #球的表面积#
球的表面积
https://www.nowcoder.com/practice/7a5e2f1ed2594e38bad804323a775c93
from math import pi def area(n): v = 4 * pi * n ** 2 return v list_a = [1,2,4,9,10,13] for i in list_a: print(round(area(i),2))
球的表面积
https://www.nowcoder.com/practice/7a5e2f1ed2594e38bad804323a775c93
from math import pi def area(n): v = 4 * pi * n ** 2 return v list_a = [1,2,4,9,10,13] for i in list_a: print(round(area(i),2))
相关推荐