Commit d9db4832 by BellCodeEditor

save project

parent 7b827837
Showing with 14 additions and 16 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
screen=turtle.Screen() p=turtle.Pen
screen.bgcolor(pink) turtle.write("洛伊,我喜欢你",font=("Times",20,"normal"))
pen=turtle.Pen() pen1=turtle.Pen
screen=turtle.pen pen1.left(45)
pen.write("我是谁",font=("Times",15,"normal")) pen1.backward("red")
pen.pencolor("red") pen1.forward(100)
pen.pensize(5) pen1.circle(50,180)
pen.left(45) pen1.right(90)
pen.forward(100) pen1.circle(-50,180)
pen.circie(50,180) pen1.right(90)
pen.right(90) pen1.forward(100)
pen.circle(50,180) pen1.hideturtle()
pen.forward(100) turtle.done()
pen.hideturtle() \ No newline at end of file
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