Commit 6d57f327 by BellCodeEditor

auto save

parent 4b973b77
Showing with 23 additions and 0 deletions
a=int(input("请输入一个三位数"))
b=a//100
c=(a-b*100)//10
d=a-b*100-c*10
print("百位为"+str(b)+"十位为"+str(c)+"个位为"+str(d))
\ No newline at end of file
import turtle
turtle.penup()
turtle.goto(-100,-100)
turtle.pendown()
for i in range(4):
turtle.forward(200)
turtle.left(90)
turtle.penup()
turtle.goto(0,-50)
turtle.pendown()
turtle.begin_fill()
turtle.circle(50,360)
turtle.fillcolor("blue")
turtle.end_fill()
turtle.hideturtle()
turtle.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