Commit bdfca2f3 by BellCodeEditor

auto save

parent 9d3cc482
Showing with 25 additions and 8 deletions
# # 列
# 使 用 变 量i和j,代替乘法算式里面的元素,打印出单个乘法算式
for i in range(1,10):
for j in range(1,10):
if (j<=i):
print(j,"x",i,"=",j*i,end=" ")
print()
import turtle as t
t.up()
t.goto(0,-200)
t.down()
t.circle(200,360)
t.up()
t.goto(-100,50)
t.down()
t.dot(40,"blue")
t.up()
t.goto(100,50)
t.down()
t.dot(40,"blue")
t.up()
t.goto(0,50)
t.right(180)
t.down()
t.circle(50,steps=3)
t.up()
t.goto(-150,-70)
t.down()
t.goto(0,-170)
t.goto(150,-70)
t.hideturtle()
t.done()
......
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