Commit 0dafe65a by BellCodeEditor

save project

parent 9a24f992
Showing with 3 additions and 1 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
r=60
screen=turtle.Screen() screen=turtle.Screen()
r=int(screen.textinput("请输入数字"))
screen.bgcolor("green") screen.bgcolor("green")
pen=turtle.Pen() pen=turtle.Pen()
pen.up() pen.up()
...@@ -11,6 +12,7 @@ pen.down() ...@@ -11,6 +12,7 @@ pen.down()
pen.write("knlhh",font=("Times",20,"normal")) pen.write("knlhh",font=("Times",20,"normal"))
pen.pendown() pen.pendown()
pen1=turtle.Pen()
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("red") pen1.pencolor("red")
pen1.left(45) pen1.left(45)
......
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