Commit f09b37b9 by BellCodeEditor

save project

parent bcb0b4dd
Showing with 5 additions and 5 deletions
import turtle import turtle
len=100
screen=turtle.Screen() screen=turtle.Screen()
screen.bgcolor("yellow") screen.bgcolor("yellow")
pen=turtle.Pen() pen=turtle.Pen()
pen.penup() pen.penup()
pen.goto(100,-100) pen.goto(100,-100)
pen.write("机密文件快出来") pen.write("机密文件快出来")
pen.goto(0,0) pen.goto(0,0)
pen.down() pen.down()
pen.pencolor("red") pen.pencolor("red")
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(len*2)
pen.circle(50,180) pen.circle(len,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(len,180)
pen.forward(100) pen.forward(len*2)
pen.heading() pen.heading()
turtle.done() 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