Commit 845a4ca7 by BellCodeEditor

save project

parent ef99791b
Showing with 3 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
len=50
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("yellow") screen.bgcolor("yellow")
pen=turtle.Pen() pen=turtle.Pen()
...@@ -9,7 +10,7 @@ pen.goto(100,-100) ...@@ -9,7 +10,7 @@ pen.goto(100,-100)
pen.write('牛牛牛牛牛\n牛牛牛牛牛\n你你你你你',font=("Tiems",30,"normal")) pen.write('牛牛牛牛牛\n牛牛牛牛牛\n你你你你你',font=("Tiems",30,"normal"))
pen.hideturtle() pen.hideturtle()
len=float(screen.textinput("爱心大小","画多大的爱心"))
pen1=turtle.Pen() pen1=turtle.Pen()
pen1.left(45) pen1.left(45)
pen1.pencolor("red") pen1.pencolor("red")
......
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