猫史档案馆


【Python作品分享】小乌龟【教程贴】

用户:happy小猿happy小猿查看:0 回复:1 评论:0 创建时间:2023-12-24T12:06:47


【作品展示】

center_image

 

【作品介绍】

小乌龟秀身法❤

 

【作品源代码】

import turtle

turtle.shape("turtle")
for count in range(10):
    turtle.forward(10)
    turtle.left(90)
    for count in range(2):
        turtle.forward(10)
        turtle.right(90)
    turtle.forward(10)
    turtle.left(90)

 

【提示】

部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:

https://python.codemao.cn


回复

上一页1 页 / 共 1下一页
happy小猿happy小猿

imgsrc="https://static.codemao.cn/emoji/codemao/%E7%BC%96%E7%A8%8B%E7%8C%AB_%E5%8A%A0%E6%B2%B9.gif"alt="emotion_编程猫_加油"

点赞0


评论