Commit 9ccba4a6 by BellCodeEditor

save project

parent 5e1ed033
Showing with 20 additions and 15 deletions
# 利用write()帮助悟空给诺依回信吧
import turtle
screen=turtle.Screen()
screen.bgcolor("red")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-25)
pen.write("你个",font=("Times",90,"normal"))
pen=turtle.Pen()
pen.penup()
pen.goto(100,-250)
pen.write("SB",font=("Times",180,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor("green")
pen1.pensize(25)
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen.hideturtle()
pen1.penup()
pen1.goto(100,-250)
pen1.write("SB",font=("Times",180,"normal"))
pen1.hideturtle()
pen2=turtle.Pen()
pen2.pencolor("green")
pen2.pensize(25)
pen2.left(45)
pen2.forward(100)
pen2.circle(50,180)
pen2.right(90)
pen2.circle(50,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