Commit 3fcae27f by BellCodeEditor

auto save

parent 61108cfb
Showing with 16 additions and 3 deletions
import turtle import turtle
pen=turtle.Pen() import random
pen.write("今日作业:\n完成Lv2-2的实践应用\n第三题\n第四题",font=("Times",20,"normal")) # pen=turtle.Pen()
pen.hideturtle() # pen.write("今日作业:\n完成Lv2-2的实践应用\n第三题\n第四题",font=("Times",20,"normal"))
# pen.hideturtle()
# turtle.done()
pen1=turtle.Pen()
pen1.color("red")
pen1.pensize(10)
pen1.left(45)
pen1.fd(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.fd(100)
pen1.hideturtle()
turtle.done() 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