Commit a6a26d77 by BellCodeEditor

auto save

parent f9b6bca9
Showing with 6 additions and 1 deletions
...@@ -2,7 +2,12 @@ ...@@ -2,7 +2,12 @@
import turtle import turtle
pen= turtle.Pen() pen= turtle.Pen()
size=textinput("提示","你想要多大的魔法阵呀?")
screen = turtle.Screen()
size=screen.textinput("提示","你想要多大的魔法阵呀?")
print(type(size))
size = int(size)
print(type(size))
pen.circle(size) pen.circle(size)
pen.circle(size,360,3) pen.circle(size,360,3)
pen.circle(size,60) pen.circle(size,60)
......
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