|
马上注册,结交更多好友,享用更多功能^_^
您需要 登录 才可以下载或查看,没有账号?立即注册
x
我核对了好几遍,不就是一段画圈的,这到底错哪了啊
Python 3.8.8 (tags/v3.8.8:024d805, Feb 19 2021, 13:18:16) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> import turtle
>>> t = turtle.Turtle()
>>> t.hideturtle()
>>> for n in [50,55,60,65,70,75,80,85,90,95]:
t.circle(n)
那个是在 python shell 中的显示,不全是代码
代码如下:
- import turtle
- t = turtle.Turtle()
- t.hideturtle()
- for n in [50,55,60,65,70,75,80,85,90,95]:
- t.circle(n)
复制代码
|
|