Commit 1658d2bc by BellCodeEditor

auto save

parent a50ceeec
Showing with 23 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(-100,0)
pen=turtle.Pen()
pen.write("hi,诺伊,\n好久不见",font=("Times",40,"normal"))
pen.hideturtle()
turtle.done()
penl=turtle.Pen()
penl.pensize(5)
penl.pencolor("red")
penl.left(45)
penl.forward(100)
penl.circle(50,180)
penl.right(90)
penl.circle(50,180)
penl.forward(100)
penl.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