Commit 1091b8e3 by BellCodeEditor

save project

parent a50ceeec
Showing with 21 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
s=turtle.Screen()
pen = turtle.Pen()
s.bgcolor("light blue")
pen.penup()
pen.goto(100,-100)
pen.write("你好",font=("Times",30,"normal"))
pen.hideturtle()
p = turtle.Pen()
p.pensize(5)
p.pencolor("red")
p.left(45)
l=100
p.forward(2*l)
p.circle(l,180)
p.right(90)
p.circle(l,180)
p.forward(2*l)
p.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