Commit 5edb130c by BellCodeEditor

auto save

parent 2637d466
Showing with 31 additions and 5 deletions
for i in range(1,10):# 行
for j in range(1,i+1) : # 列# 使用变量i和j,代替乘法算式里面的元素,打印出单个乘法算式
print(j,"*",i,"=",(j*i),end=" ")
print()
\ No newline at end of file
p=3.14
r=float("请输入亿个大于 0 的半径:")
a=2*r
b=a*p
c=p*r*r
print("半径:%0.2f")
print("")
print("")
\ No newline at end of file
import turtle
turtle.penup()
turtle.goto(0,-200)
turtle.pendown()
turtle.circle(200)
turtle.penup()
turtle.goto(-100,50)
turtle.pendown()
turtle.fillcolor("blue")
turtle.begin_fill()
turtle.circle(20)
turtle.end_fill()
turtle.penup()
turtle.goto(100,50)
turtle.pendown()
turtle.fillcolor("blue")
turtle.begin_fill()
turtle.circle(20)
turtle.end_fill()
turtle.
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