Commit 93e463af by BellCodeEditor

save project

parent 5fa8f739
Showing with 8 additions and 6 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
# pen=turtle.Pen()
# pen.write("诺伊你好\nturtle真好用",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor("green")
pen.write("诺伊你好\nturtle真好用",font=("Times",30,"normal"))
pen=turtle.Pen()
pen.pencolor("red")
pen.pensize(5)
pen.left(45)
forward(100)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(-50,180)
pen.circle(50,180)
pen.forward(100)
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