Commit 7e485852 by BellCodeEditor

save project

parent 5725b0d0
Showing with 18 additions and 11 deletions
import turtle import turtle
pen=turtle.Pen()
pen.pencolor("red")
pen.penup()
pen.goto(-100,0)
pen.writle("12345",font=("Times",30,"normal"))
screen=turtle.Screen() screen=turtle.Screen()
screen.color("red") screen.bgcolor("red")
pen.pensize(20) pen=turtle.Pen()
len=60
pen.left(45) pen.left(45)
pen.forward(100) pen.forward(2*len)
pen.circle(50,180) pen.circle(len,180)
pen.right(90) pen.right(90)
pen.circle(50,180) pen.circle(len,180)
pen.forward(100) pen.forward(100)
turtle.done() tuple.done()
# pen.hideturtle()
# pen.pencolor("red")
# pen.penup()
# len=60
# len(input())
# pen.goto(-100,0)
# pen.writle("12345",font=("Times",30,"normal"))
# screen=turtle.Screen()
# pen.pensize(20)
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