Commit 4f879715 by BellCodeEditor

auto save

parent 07858a54
Showing with 32 additions and 0 deletions
import turtle
import random
pen=turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("你好呀,",font=("Times",15,"normal"))
screen=turtle.Screen()
screen.bgcolor("green")
len=random.randint(20,100)
pen1=turtle.Pen()
pen1.pensize(6)
pen1.color("red")
pen1.left(45)
pen1.fd(len)
pen1.circle(len/2,180)
pen1.rt(90)
pen1.circle(len/2,180)
pen1.fd(len)
pen1.hideturtle()
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