Commit 4c2b10b8 by BellCodeEditor

auto save

parent 88999b82
Showing with 23 additions and 5 deletions
import turtle
使用turtle模块画图 pen= turtle.Pen()
i=1 screen=turtle.Screen()
for j in range(1,10): aaa=screen.textinput("提示","你想要多大的魔法阵?")
print(j,'*',i,'=') size=int(aaa)
pen.circle(size)
pen.circle(size,360,3)
pen.circle(size,60)
pen.circle(size,360,3)
turtle.done()
turtle.hideturtle()
for i in range(1,10):
for j in range(1,i+1):
print(i,"*",j,"=",(i*j),end=" ")
print()
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