Commit 077e7d7b by BellCodeEditor

save project

parent d69ad7f2
Showing with 2 additions and 2 deletions
import turtle import turtle
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("light blue") screen.bgcolor("light blue")
len=screen.textinput("GGB","请输入勾勾大小") len=screen.textinput("心的大小","请输入你要的大小:")
lovesize=int(len) lovesize=int(len)
pen=turtle.Pen() pen=turtle.Pen()
pen.left(45) pen.left(45)
...@@ -12,7 +12,7 @@ pen.circle(lovesize,180) ...@@ -12,7 +12,7 @@ pen.circle(lovesize,180)
pen.forward(2*lovesize) pen.forward(2*lovesize)
pen.penup() pen.penup()
pen.goto(100,100) pen.goto(100,100)
pen.write("沟巴老弟,我",font=("Times",30,"normal")) pen.write("沟巴老弟",font=("Times",30,"normal"))
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