Commit 67e8603e by BellCodeEditor

save project

parent c816b9b8
Showing with 23 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧
import turtle
pen1=turtle.Pen()
pen1.write("诺伊,\nturtle真好用,\n我都会用turtle写字了!",font=("幼圆",20,"normal"))
pen1.hideturtle()
turtle.colormode(255)
pen2=turtle.Pen()
pen2.up()
pen2.goto(-39,12)
pen2.down()
pen2.pensize(5)
pen2.pencolor(238,130,238)
pen2.setheading(45)
pen2.forward(100)
pen2.circle(100/2,180)
pen2.right(90)
pen2.circle(100/2,180)
pen2.forward(100)
pen2.hideturtle()
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