Commit bea06a52 by BellCodeEditor

auto save

parent 8670e62d
Showing with 39 additions and 0 deletions
import turtle
turtle.pendown()
turtle.speed(1)
for i in range(4):
turtle.forward(50)
turtle.left(90)
turtle.forward(50)
turtle.fillcolor("black")
turtle.begin_fill()
for i in range(4):
turtle.forward(50)
turtle.left(90)
turtle.end_fill()
turtle.left(90)
turtle.forward(50)
turtle.begin_fill()
for i in range(4):
turtle.forward(50)
turtle.left(90)
turtle.end_fill()
turtle.right(90)
for i in range(4):
turtle.forward(50)
turtle.left(90)
turtle.forward(-250)
turtle.circle(120,180)
turtle.hideturtle()
turtle.done()
\ No newline at end of file
list = [1,1,2,3,5,8,13,21,34,55,89,144]
a = int(input("月份"))
while True:
if a >= 12 and a >=1:
a -= 1
s = list[a]
d = s*2
break
print(d)
\ 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