- 4
Write a python class named circle constructed by a radius, two methods which will compute the area and the perimeter of a circle
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
0
Give it a try