求平方
1 | numbers = [1, 2, 3, 4, 5] |
绘制同心圆
1 | import turtle |
只画一个圆时,不需要
1 | turtle.penup() |
为了实现同心圆,需要加上。
** 不加后果 **
1 | import turtle |
输出:
![](https://tumytime.github.io/picx-images-hosting/image.7zq6f14hkr.webp)
1 | import turtle |
输出:
![](https://tumytime.github.io/picx-images-hosting/image.3d4jec7wzp.webp)
1 | numbers = [1, 2, 3, 4, 5] |
1 | import turtle |
只画一个圆时,不需要
1 | turtle.penup() |
为了实现同心圆,需要加上。
** 不加后果 **
1 | import turtle |
输出:
1 | import turtle |
输出: