Commit d54998e9 by BellCodeEditor

auto save

parent 840c6898
Showing with 19 additions and 0 deletions
import turtle
for i in range(4):
turtle.forward(200)
turtle.right(90)
turtle.penup()
turtle.begin_fill()
turtle.color('black','blue')
turtle.goto(100,-150)
turtle.pendown()
turtle.circle(50)
turtle.end_fill()
turtle.done()
\ No newline at end of file
x = int(input("请输入一个三位数"))
a = x//100
b = (x-a*100)//10
c = x%10
print("百:",a,"十:",b,"个:",c)
\ 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