Commit 52e11bcd by BellCodeEditor

save project

parent a50ceeec
Showing with 28 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen = turtle.Screen()
pen = turtle.Pen()
len = 1
pen.write("诺依你个\nsb\nsb\nsb\nsb\nsb\nsb\nsb\nsb\nsb\nsb\nsb\nsb\nsb\nsb\nsb",font = ("Times",9,"normal"))
pen.penup()
pen.goto(-100,0)
pen.pensize(3)
pen.forward(-150)
pen.pendown()
for i in range(50):
pen.left(40)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
pen.left(2)
screen.bgcolor("lightyellow")
len = len + 1
turtle.done()
wait(1)
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