Commit c2540c3a by BellCodeEditor

save project

parent 93366997
Showing with 7 additions and 8 deletions
import turtle import turtle
...@@ -7,15 +7,14 @@ pen.goto(100,-100) ...@@ -7,15 +7,14 @@ pen.goto(100,-100)
pen.write("陆槿彤,王珞颖,\n期末考试时你们一定要超常发挥,每门考0分,\n而我考100分林老师给我买手机,\niPad然后我没有暑假作业\n你们却有10张十面卷",font=("Times",10,"normal")) pen.write("陆槿彤,王珞颖,\n期末考试时你们一定要超常发挥,每门考0分,\n而我考100分林老师给我买手机,\niPad然后我没有暑假作业\n你们却有10张十面卷",font=("Times",10,"normal"))
pen.hideturtle() pen.hideturtle()
pen1=turtle.Pen() pen1=turtle.Pen()
lovesize=screen.textinput("提示","你的爱心要画多大:")
len=int(lovesize)
pen1.pensize(5) pen1.pensize(5)
pen1.pencolor("pink") pen1.pencolor("pink")
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(lovesize)
pen1.circle(50,180) pen1.circle(lovesize,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(lovesize,180)
pen1.forward(100) pen1.forward(lovesize)
turtle.done()import turtle
screen=turtle.Screen()
screen.textinput("姓名框","你的姓名是:")
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