Commit e5b2984a by BellCodeEditor

save project

parent 600934c9
Showing with 27 additions and 0 deletions
#长
a=6
#宽
b=3
#面积
s=a*b
print("长方形的面积为:",s)
#长方形的面积
\ No newline at end of file
import turtle
t=turtle.Turtle()
t.penup()
t.goto(-100,-100)
t.pendown()
for i in range(4):
t.fd(200)
t.left(90)
t.penup()
t.goto(0,0)
t.dot(20,"red")
t.goto(-40,0)
t.dot(20,"red")
t.goto(40,0)
t.dot(20,"red")
t.hideturtle()
turtle.done()
\ 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