- 4

Write a python class named circle constructed by a radius, two methods which will compute the area and the perimeter of a circle

8th Apr 2017, 5:07 AM
Ajit Bhatambre
Ajit Bhatambre - avatar
2 ответов
0
class Circle: def _init_(self,radius,area,circ) self.radius=radius self.area=area self.circ=circ area=(radius**2)*3.14 circ=(radius*2)*3.14
17th Jul 2017, 6:58 AM
PierX
PierX - avatar
0
Give it a try
17th Jul 2017, 6:58 AM
PierX
PierX - avatar