Commit 6acdc274 by BellCodeEditor

save project

parent 7a03e632
Showing with 21 additions and 0 deletions
import turtle
pen1=turtle.Pen()
pen1.write("5.3\n代林浩\n42号",font=("Times",20,"normal"))
pen1.fillcolor("blue")
pen1.begin_fill()
pen1.penup()
pen1.goto(-100,50)
pen1.pendown()
pen1.right(90)
pen1.forward(100)
pen1.right(90)
pen1.forward(100)
pen1.right(90)
pen1.forward(100)
pen1.right(90)
pen1.forward(100)
pen1.right(90)
pen1.forward(100)
pen1.end_fill()
pen1.hideturtle()
turtle.done()
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