Commit 82b53353 by BellCodeEditor

auto save

parent 6df92f9b
Showing with 34 additions and 0 deletions
import turtle
pen=turtle.Pen()
pen.goto(0,0)
pen.pencolor("black")
pen.pendown()
for i in range(2):
pen.forward(100)
pen.left(120)
pen.forward(100)
pen.penup()
pen.goto(20,-10)
pen.right(20)
pen.pendown()
pen.pencolor("olive")
pen.forward(150)
pen.pencolor("green")
pen.forward(50)
for i in range(4):
pen.left(72)
pen.forward(50)
pen.penup()
pen.goto(50,50)
pen.begin_fill()
pen.circle(50,360)
pen.fillcolor("blue")
pen.end_fill()
turtle.done()
\ No newline at end of file
a=input("输:")#宽
b=float(a)*2+2
c=(float(a)+b)*2
d=float(a)*b
print(str)
\ 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