Commit 91cb89c1 by BellCodeEditor

save project

parent be2f8242
Showing with 985 additions and 23 deletions
import turtle
#屏幕背景
screen=turtle.Screen()
screen.bgcolor("blue")
#文字
pen=turtle.Pen()
pen.penup()
pen.goto(200,-100)
pen.write("阳光开朗大男孩!\n鸡你太美!\n鸡汤来咯!\n蓝色妖姬!\n",font=("Times",20,"normal"))
pen.write(" kkkkk\nkkkkkkkk\nkkkkkkk\nkkkkkkk",font=("Times",50,"normal"))
pen.hideturtle()
#爱心
pen1=turtle.Pen()
pen1.color("black")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
turtle.done()
\ No newline at end of file
......@@ -9,13 +9,993 @@ pen.goto(200,-100)
pen.write("阳光开朗大男孩!\n鸡你太美!\n鸡汤来咯!\n蓝色妖姬!\n",font=("Times",20,"normal"))
pen.hideturtle()
#爱心
len=screen.textinput("提示","你想要多大的爱心?")
lovesize=int(len)
pen1=turtle.Pen()
pen1.color("black")
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
pen1.forward(2*lovesize)
pen1.circle(lovesize,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.circle(lovesize,180)
pen1.forward(2*lovesize)
pen1.hideturtle()
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