Commit c041d831 by BellCodeEditor

save project

parent 5e66c977
Showing with 13 additions and 0 deletions
...@@ -13,6 +13,7 @@ x.hideturtle() ...@@ -13,6 +13,7 @@ x.hideturtle()
a=turtle.Pen() a=turtle.Pen()
a.color("red") a.color("red")
a.pensize(5) a.pensize(5)
len=screen.textinput("提示","你想要多大的爱心呀!") len=screen.textinput("提示","你想要多大的爱心呀!")
lovesize=int(len) lovesize=int(len)
a.left(45) a.left(45)
......
import turtle
pen=turtle.Pen()
screen=turtle.Screen()
size=screen.textinput("提示","你想要多大的魔法阵呀?")
size1=int(size)
pen.circle(size1)
pen.circle(size1,360,3)
pen.circle(size1,60)
pen.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