编辑代码
Swift代码
5.2.4
运行
var
shape = Shape() shape.numberOfSides =
7
var
shapeDescription = shape.simpleDescription()