构造器
(self, width=0, height=0)
| 13 | """矩形类""" |
| 14 | |
| 15 | def __init__(self, width=0, height=0): |
| 16 | """构造器""" |
| 17 | self.__width = width |
| 18 | self.__height = height |
| 19 | |
| 20 | def perimeter(self): |
| 21 | """计算周长""" |
nothing calls this directly
no outgoing calls
no test coverage detected