【Python】计算圆的面积

代码:

r=29
area = 3.1415*r*r
print(area)
print("{:.2f}".format(area))

结果:

原文地址:https://www.cnblogs.com/HGNET/p/12070430.html