Commit a5350891 by BellCodeEditor

save project

parent ed61db5c
Showing with 9 additions and 18 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
e=turtle.Screen()
e.bgcolor("light pink")
w=turtle.Pen()
w.write("SBSBSBSBSBSBS",font=("黑体",13,"normal"))
w.hideturtle()
q=turtle.Pen()
q.penup()
q.goto(100,-200)
q.pendown()
q.pencolor("red")
q.left(45)
q.forward(100)
q.circle(50,180)
q.right(90)
q.circle(50,180)
q.forward(100)
q.hideturtle()
ys=["red","blue","green","yellow"]
turtle.bgcolor("black")
turtle.speed(100)
for i in range(300):
turtle.pencolor(ys[i%4])
turtle.forward(i)
turtle.left(91)
turtle.hideturtle()
turtle.done()
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