Commit bb68c999 by BellCodeEditor

save project

parent 47c5c8ce
Showing with 19 additions and 5 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
# pen=turtle. Pen() scree=turtle.Screen()
# pen.write("多行不义必自毙",font=("Times",18,"normal")) scree..bgcolor("light blue")
# pen.hideturtle() #写字
# turtle.done()
#画爱心
pen=turtle. Pen()
pen.write("多行不义必自毙",font=("Times",18,"normal"))
pen.hideturtle()
turtle.done()
画爱心
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.pencolor("red") pen1.pencolor("red")
pen1.pensize(5) pen1.pensize(5)
...@@ -17,3 +30,4 @@ pen1.forward(100) ...@@ -17,3 +30,4 @@ pen1.forward(100)
pen1.hideturtle() 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