Commit cb4a8ccc by BellCodeEditor

save project

parent 2b9cfadb
Showing with 13 additions and 9 deletions
import turtle import turtle
#pen=turtle.pen() screen=turtle.Screen()
#pen.write("我太帅了",font=("Times"30"normal")) screen.bgcolor("pink")
#turtle.done() pen=turtle.Pen()
pen1=turtle.pen1() pen.penup()
pen1.pencolor("pink") pen.goto(100,-100)
pen1.pensize(50) pen.write("我太帅了",font=("Times",30,"normal"))
turtle.hideturtle()
pen1=turtle.Pen()
pen1.pencolor("red")
pen1.pensize(10)
pen1.left(45) pen1.left(45)
pen1.forward(100) pen1.forward(100)
pen1.circle(50,180) pen1.circle(50,180)
pen1.right(100) pen1.right(100)
pen1.circle(50,180) pen1.circle(50,180)
pen1.forward(100) pen1.forward(100)
pen1.pen1.pensize(50) pen1.pensize(50)
pen1.hideturtle pen1.hideturtle
turtle.done turtle.done()
\ No newline at end of file \ 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