Commit 58b30760 by BellCodeEditor

save project

parent 61f3cbb3
Showing with 8 additions and 11 deletions
import turtle
pen=turtle.Pen()
pen.pencolor("red")
pen.pensize(5)
screen=turtle.Screen()
one=screen.textinput("提示","请输入爱心大小")
len=int(one)
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
pen=turtle.Pen()
size1=screen.textinput("提示","你想要多大的魔法阵呀?")
size=int(size1)
pen.circle(size)
pen.circle(size,360,3)
pen.circle(size,60)
pen.circle(size,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