def setup() :
dm = int(input())
cal_circle(dm)
def cal_circle(dm):
r=dm/2
r_2=r*r
A=3.14*r_2
Cf=2*(3.14)*r
print("Value of circle's area = %.2f"%A,"m^2.")
print("Value of circumference's circle = %.2f"%Cf)
print("Diameter's circle = ",dm," m.")
print("Radius's circle = ",r," m.")
setup()
ไม่มีความคิดเห็น:
แสดงความคิดเห็น