Commit 1ed94e65 by BellCodeEditor

save project

parent e5afb85b
Showing with 17 additions and 3 deletions
import turtle import turtle
screen=turtle.Screen()
screen.bgcolor('skyblue')
pen=turtle.Pen() pen=turtle.Pen()
pen.write("春眠不觉晓,\n超出我电脑。\n夜来风雨声,\n冲坏我电脑。",font=("Times",30,"normal")) pen.penup()
pen.goto(100,-200)
pen.write(" 电脑口诀 \n春眠不觉晓,\n超出我电脑。\n夜来风雨声,\n冲坏我电脑。\n于是我电脑,\n变成了老铁。",font=("Times",30,"normal"))
pen.hideturtle() pen.hideturtle()
turtle.done() 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