Commit 4e29538d by BellCodeEditor

save project

parent 00b8396d
Showing with 9 additions and 8 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
# pen=turtle.Pen()
# pen.write("你好\n.",font=("Times",30,"normal"))
# pen.hideturtle()
# turtle.done()
screen=turtle.Screen()
screen.bgcolor("red")
pen=turtle.Pen()
pen.penup()
pen.goto(90,-90)
pen.write("你好\n这只是个\n普普通通的\n贺卡,没什\n么特别的\nhhhh .",font=("Times",20,"normal"))
pen.hideturtle()
pen1=turtle.Pen()
pen1.pensize(10)
pen1.pencolor("blue")
pen1=turtle.Pen()
pen1.left(45)
pen1.forward(180)
......@@ -17,6 +17,7 @@ pen1.right(90)
pen1.circle(90,180)
pen1.forward(180)
pen1.hideturtle()
turtle.done()
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