题解 | 圆的面积
圆的面积
https://www.nowcoder.com/practice/a235f884c28e46c491e7ddc414b54d2b
import math
r = float(input())
circle_area = math.pi * r**2
print(f"{circle_area:.3f}")
圆的面积
https://www.nowcoder.com/practice/a235f884c28e46c491e7ddc414b54d2b
import math
r = float(input())
circle_area = math.pi * r**2
print(f"{circle_area:.3f}")
相关推荐