Commit a5657af7 by BellCodeEditor

save project

parent 654bc3ba
Showing with 32 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
# pen=turtle.Pen()
# pen.write("诺伊,turtle真好用",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
Pen1=turtle.Pen()
Pen1.pensize(5)
Pen1.pencolor("red")
Pen1.left(45)
Pen1.forward(100)
Pen1.circle(50,180)
Pen1.right(90)
Pen1.circle(50,180)
Pen1.forward(100)
Pen1.hideturtle()
turtle.done()
screen=turtle.Screen()
screen.bgcolor("light blue")
pen=turtle.Pen()
pen.penup()
pen.goto(-100,0)
pen.write("生日快乐"font=("Times",30,"normal"))
pen.hideturtle()
turtle.down()
\ No newline at end of file
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen = turtle.Pen()
pen.write("aaaa",font=("Times",13,"normal"))
pen.hideturtle()
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