Commit 03049c6a by BellCodeEditor

auto save

parent 31bbaf57
Showing with 23 additions and 5 deletions
......@@ -2,9 +2,12 @@
import turtle
pen= turtle.Pen()
size=textinput("提示","你想要多大的魔法阵呀?")
pen.circle(size)
pen.circle(size,360,3)
pen.circle(size,60)
pen.circle(size,360,3)
screen=turtle.Screen()
size=screen.textinput("提示","你想要多大的魔法阵呀?")
q=int(size)
#pen.speed(1)
pen.circle(q)
pen.circle(q,360,3)
pen.circle(q,60)
pen.circle(q,360,3)
turtle.done()
for i in range(1,10):
for j in range(1,10):
print(i*j)
print()
\ No newline at end of file
import turtle
pen=turtle.Pen()
pen.speed(30)
yan=["red","pink","black","blue"]
for i in range(1,200):
pen.color(yan[i%4])
pen.forward(i)
pen.left(91)
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