题解 | 球的表面积
import math def area(r): V=4*math.pi*r*r return V radium=[1,2,4,9,10,13] for r in radium: a=area(r) print("%.2f"%(a))
import math def area(r): V=4*math.pi*r*r return V radium=[1,2,4,9,10,13] for r in radium: a=area(r) print("%.2f"%(a))
相关推荐