机器人
积分排行榜
Scratch
积分排行榜
Python
在线答题
积分排行榜
活跃排行榜
打字练习
Microbit
C++
在线答题
积分排行榜
活跃排行榜
网盘
积分
未登录
未登录
登录学习
作者:
陈果
更新时间:
2025-06-22 15:56
浏览:
21次
点赞:
1次
热度:
20
import turtle import random t=turtle.Pen() t.shape('turtle') t.penup() t.goto(75,-100) t.pendown() t.pencolor("red") t.hideturtle() t.pensize(5) t.circle(100,180) t.forward(150) t.circle(100,180) t.forward(150) t.pencolor("blue") t.dot(10) t1=turtle.Pen() t1.speed(random,randint(0,10) t1.shape("turtle") t1.up() t1.goto(75,-100) t1.circle(100,180) t1.forward(150) t1.circle(100,180) t1.forward(150) t2=turtle.Pen() t2.speed(random,randint(0,10) t2.color("yellow") t2.shape("turtle") t2.up() t2.goto(75,-100) t2.circle(100,180) t2.forward(150) t2.circle(100,180) t2.forward(150) t3=turtle.Pen() t3.speed(random,randint(0,10) t3.color("blue") t3.shape("turtle") t3.up() t3.goto(75,-100) t3.circle(100,180) t3.forward(150) t3.circle(100,180) t3.forward(150) t4=turtle.Pen() t4.speed(random,randint(0,10) t4.color("green") t4.shape("turtle") t4.up() t4.goto(75,-100) t4.circle(100,180) t4.forward(150) t4.circle(100,180) t4.forward(150) t5=turtle.Pen() t5.speed(random,randint(0,10) t5.color("pink") t5.shape("turtle") t5.up() t5.goto(75,-100) t5.circle(100,180) t5.forward(150) t5.circle(100,180) t5.forward(150) t6=turtle.Pen() t6.speed(random,randint(0,10) t6.color("purple") t6.shape("turtle") t6.up() t6.goto(75,-100) t6.circle(100,180) t6.forward(150) t6.circle(100,180) t6.forward(150) t7=turtle.Pen() t7.speed(random,randint(0,10) t7.color("brown") t7.shape("turtle") t7.up() t7.goto(75,-100) t7.circle(100,180) t7.forward(150) t7.circle(100,180) t7.forward(150) t8=turtle.Pen() t8.speed(random,randint(0,10) t8.color("orange") t8.shape("turtle") t8.up() t8.goto(75,-100) t8.circle(100,180) t8.forward(150) t8.circle(100,180) t8.forward(150)
点赞成功
分享作品
×