Commit 58b30760 by BellCodeEditor

save project

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