Commit 9baad040 by BellCodeEditor

auto save

parent 1908b6f2
Showing with 39 additions and 0 deletions
# r=input('输入圆的半径')
# r=float(r)
# d=r*2
# print('直径是',d)
# c=3.14*d
# print('周长是%.2f'%c)
# s=3.14*r*r
# print('面积是%.2f'%s)
import turtle
turtle.penup()
turtle.goto(0,-200)
turtle.pendown()
turtle.circle(200)
turtle.penup()
turtle.goto(-100,50)
turtle.pendown()
turtle.begin_fill()
turtle.circle(20)
turtle.fillcolor('blue')
turtle.end_fill()
turtle.penup()
turtle.goto(100,50)
turtle.pendown()
turtle.begin_fill()
turtle.circle(20)
turtle.fillcolor('blue')
turtle.end_fill()
turtle.penup()
turtle.goto(0,50)
turtle.pendown()
turtle.circle(-50,steps=3)
turtle.penup()
turtle.goto(-150,-70)
turtle.pendown()
turtle.goto(0,-170)
turtle.goto(150,-70)
\ 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