Commit 24283824 by BellCodeEditor

save project

parent 8f18dd31
Showing with 33 additions and 8 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
# pen.write("hhhhhhhhhhhh~",font=("times",20,"normal"))
# turtle.done()
screen=turtle.Screen()
screen.bgcolor("blue")
pen.pencolor("red")
pen.width(5)
pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.forward(50)
pen.circle(25,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.circle(25,180)
pen.forward(50)
pen.penup()
pen.left(45)
pen.forward(60)
color_list=['red']
pen.pendown()
pen.pencolor("yellow")
pen.left(45)
pen.forward(50)
pen.circle(25,180)
pen.right(90)
pen.circle(25,180)
pen.forward(50)
pen.penup()
pen.left(90)
pen.forward(80)
pen.right(140)
pen.forward(25)
pen.right(90)
pen.pendown()
pen.forward(200)
turtle.done()
\ No newline at end of file
import turtle
\ 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