我们走正方形步过去。
那么现在我们对原来的图像有了进一步的认识但是我们仍然,不知道它的横截面是否是圆,正方形或者其他的样子,因此我们需要进一步的确认。
So, we are starting to have a slightly better idea but we still don't know whether the cross section of this thing might be round, square, something else. So, it wants more confirmation.
下一步也还是泛化。这次就是不光要画正方形了,要画一个多边形,可以指定边数的。下面是样例。
The next step is also a generalization. Instead of drawing squares, polygondraws regular polygons with any number of sides. Here is a solution.
应用推荐