Commit 6629f613 by BellCodeEditor

auto save

parent c2f1308f
Showing with 26 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle
r = 100
d = 2*r
pen = turtle.Pen()
screen = turtle.Screen()
screen.bgcolor("pink")
pen.hideturtle()
pen.penup()
pen.goto(-350,0)
pen.write("你好呀!",font = ("Times",20,"normal"))
pen.pensize(5)
pen.pencolor("red")
pen.goto(100,100)
pen.pendown()
pen.left(45)
pen.forward(d)
pen.circle(r,180)
pen.right(90)
pen.circle(r,180)
pen.forward(d)
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