Commit fdada7db by BellCodeEditor

save project

parent c816b9b8
Showing with 20 additions and 0 deletions
import turtle
screen=turtle.Screen()
screen.bgcolor('skyblue')
pen=turtle.Pen()
pen.penup()
pen.goto(100,-200)
pen.write(" 电脑口诀 \n春眠不觉晓,\n超出我电脑。\n夜来风雨声,\n冲坏我电脑。\n于是我电脑,\n变成了老铁。",font=("Times",30,"normal"))
pen.hideturtle()
pen2=turtle.Pen()
pen2.pencolor('red')
pen2.pensize(5)
pen2.left(45)
pen2.forward(100)
pen2.circle(50,180)
pen2.right(90)
pen2.circle(50,180)
pen2.forward(100)
pen2.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