Commit 4c2b10b8 by BellCodeEditor

auto save

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