Commit 2409ab02 by BellCodeEditor

save project

parent 651641e4
Showing with 13 additions and 6 deletions
import turtle import turtle
pen=turtle.Pen() pen=turtle.Pen()
pen.shape("turtle") pen.shape("turtle")
pen.color("blue") pen.color("orange")
pen.pensize(10)
pen.penup() pen.penup()
pen.goto(90,-60) pen.goto(88,-55)
pen.pendown() pen.pendown()
pen.write("hello\n54188",font=("Times",10,"normal")) pen.write("hello\n54188",font=("Times",15,"normal"))
pen.color("red") pen.color("red")
pen.penup() pen.penup()
pen.goto(40,-40) pen.goto(40,-50)
pen.pendown() pen.pendown()
pen.fillcolor("yellow") pen.fillcolor("pink")
pen.begin_fill() pen.begin_fill()
pen.circle(80,360) pen.left(45)
pen.forward(100)
pen.circle(50,180)
pen.right(90)
pen.circle(50,180)
pen.forward(100)
pen.end_fill() pen.end_fill()
pen.hideturtle() pen.hideturtle()
turtle.done() 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