Sorry, your browser cannot access this site
This page requires browser support (enable) JavaScript
Learn more >
1
import turtle as t
1
2
3
4
5
class MyTurtle(t.Turtle):
def big_circle(self):
self.color('red')
self.circle(100)

1
2
3
4
s=t.Screen()
t=MyTurtle()
t.big_circle()
s.mainloop
<bound method TurtleScreenBase.mainloop of <turtle._Screen object at 0x000001D653CF0B50>>
1
#可以学一下走迷宫

评论