Commit a66bbdf5 by BellCodeEditor

auto save

parent 82d330e5
Showing with 22 additions and 0 deletions
import turtle
turtle.pencolor("red")
turtle.pensize(20)
turtle.forward(200)
turtle.right(135)
turtle.pencolor("green")
turtle.forward(280)
turtle.pencolor("blue")
turtle.left(135)
turtle.forward(200)
turtle.done()
\ No newline at end of file
a=int(input("请输入正方形的边长:"))
b=a*a
c=a*4
print("正方形的面积是:",b,"正方形的周长是:",c)
\ No newline at end of file
import turtle
turtle.pencolor("pink")
turtle.begin_fill()
turtle.end_fill()
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