Commit 4e29538d by BellCodeEditor

save project

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