Commit 99ef397d by BellCodeEditor

save project

parent b4a9e810
Showing with 9 additions and 18 deletions
import turtle
Pen=turtle.Pen()
len=60
Pen.penup()
Pen.goto(100,-100)
screen = turtle.Screen()
len=screen.textinput("姓名框","你的名字是:")
lovesize=int(len)
screen.bgcolor("lightblue")
Pen.write("诺依,turtle真好用,\n我会在画布上写字啦\n!",font=("Times",15,"normal"))
pen1=turtle.Pen()
pen1.pensize(9)
pen1.pencolor("blue")
pen1.left(45)
pen1.forward(lovesize*2)
pen1.circle(lovesize,180)
pen1.right(90)
pen1.circle(lovesize,180)
pen1.forward(lovesize*2)
s=turtle.Screen()
p=turtle.Pen()
size=s.textinput("提示","你想要多大的魔法阵呀?")
size1=int(size)
p.circle(size1)
p.circle(size1,360,3)
p.circle(size1,60)
p.circle(size1,360,3)
turtle.done()
\ No newline at end of file
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