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