r=int(input('请输入半径:'))
import math
c=2*math.pi*r
s=math.pi*r**2
print(f'圆的周长为{c},面积为{s}')
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交
r=int(input('请输入半径:'))
import math
c=2*math.pi*r
s=math.pi*r**2
print(f'圆的周长为{c},面积为{s}')