以下是部分代码预览:
"""
纯画笔月球动画
"""
from turtle import *
def draw_circle(t,color,radius):
"""
用海龟t画颜色为color半径为radius的圆
"""
t.color(color)
t.begin_fill()
t.circle(radius)
t.end_fill()
radius = 100
screen = Screen()
t = Turtle(visible=False)
t.penup()
start_x,start_y = 200,0
dx = -0.1
如需要查看完整源代码,请
需要浏览更多吗?
成为会员后,登陆才能继续浏览!联系微信scratch8即可办理会员。
(会员专属:能浏览所有文章,下载所有带链接的Python资源。)

