Commit 61eb78b8 by BellCodeEditor

save project

parent f8ad02e2
Showing with 5 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
#背景
screen=turtle.Screen()
screen.bgcolor("light yellow")
#写字
pen=turtle.Pen()
#写字
pen.penup()
pen.goto(100,-100)
pen.write("你好呀!",font=("Times",20,"normal"))
pen.write("你好呀!",font=("Times",13,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
......@@ -18,5 +22,3 @@ pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
pen1.done()
screen=turtle.Screen()
screen.bgcolor("red")
\ 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