Commit 6a621e8f by BellCodeEditor

save project

parent c256c561
Showing with 56 additions and 2 deletions
import turtle as t,random as r
t.speed(99999999999999999999999999999)
list=["red","orange","yellow","green","cyan","blue","purple"]
for i in range(20000):
x=r.randint(-500,500)
y=r.randint(-500,500)
b=r.randint(10,100)
c=r.choice(list)
t.pu()
t.goto(x,y)
t.pendown()
t.dot(b,c)
# 我们都爱夸夸夸
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.write("Hi",font=("Times",18,"normal"))
pen.hideturtle()
turtle.done()
\ No newline at end of file
import turtle as t
list=["red","orange","yellow","green","cyan","blue","purple"]
r=320
a=-320
t.speed()
for i in range(7):
t.pensize(20)
t.pencolor(list[i])
t.penup()
t.goto(a,0)
t.pendown()
a=a+20
t.seth(-90)
r=r-20
t.circle(r,-180)
\ No newline at end of file
import turtle as t
list=["black","orange","yellow","green","cyan","blue","rad"]
r=320
a=-320
t.speed()
for i in range(7):
t.pensize(59)
t.pencolor(list[i])
t.penup()
t.goto(a,0)
t.pendown()
a=a+59
t.seth(-90)
r=r-59
t.circle(r,-180)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment