r = 300
print("CircumferenceOfCircle = ",CircumferenceOfCircle(r))
print("areacircle = ",areacircle(r))
def CircumferenceOfCircle(r):
CircumferenceOfCircle = 2*(22/7)*r
return CircumferenceOfCircle
def areacircle(r):
areacircle = (22/7)*r*r
return areacircle
setup()
ไม่มีความคิดเห็น:
แสดงความคิดเห็น