Commit 0e6feb0b by BellCodeEditor

save project

parent a50ceeec
Showing with 23 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
pen.pencolor("dark blue")
pen.penup()
pen.goto(100,-100)
pen.pendown()
pen.write("hello,world!",font=("宋体",30))
pe=turtle.Pen()
pe.pensize(5)
len=100
pe.pencolor("red")
pe.left(45)
pe.forward(len)
pe.circle(2*len,180)
pe.right(90)
pe.circle(len,180)
pe.forward(len)
pe.hideturtle()
screen=turtle.Screen()
screen.bgcolor("light blue")
turtle.done()
\ 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