Commit 1ed83621 by BellCodeEditor

save project

parent 917044f0
Showing with 3 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
Screen=turtle.Screen()
Screen.bgcolor("yellow")
Screen.bgcolor("pink")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你好呀!\n 诺依一起吃屎吗?\n——悟空",font=("Times",15,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pencolor("pink")
pen1.pencolor("red")
pen1.pensize(5)
pen1.left(45)
len=80
pen1.forward(2*len)
pen1.circle(len,180)
pen1.pencolor("red")
pen1.pencolor("orange)
pen1.right(90)
pen1.circle(len,180)
pen1.forward(2*len)
......
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