Commit 62f3b5a3 by BellCodeEditor

save project

parent 55568eab
Showing with 16 additions and 6 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
screen=turtle.Screen()
screen.bgcolor("pink")
pen.pensize(5) pen.pensize(5)
pen.pencolor("red") pen.pencolor("red")
pen.pensize(5)
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(100)
pen.circle(50,180) pen.circle(50,180)
......
#
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.penup()
pen.goto(-100,-100)
pen.write("Hi!\n我是雷梓琳,\n很开心能认识你!",font=("times",30,"normal")) pen.write("Hi!\n我是雷梓琳,\n很开心能认识你!",font=("times",30,"normal"))
pen.hideturtle() # pen.hideturtle()
turtle.done() # turtle.done()
import turtle pen1=turtle.Pen()
pen=turtle.Pen() pen1.pencolor("red")
screen=turtle.Screen()
screen.bgcolor("pink")
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
pen1.circle(50,180) pen1.circle(50,180)
pen1.right(90) pen1.right(90)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen.hideturtle() pen.pensize(5)
pen1.hideturtle()
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