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