Commit 27356031 by BellCodeEditor

save project

parent a50ceeec
Showing with 35 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
# import turtle
# Pen = turtle.Pen()
# Pen.write("你好呀,\n你又好了",font=("Times",30,"normal"))
# Pen.hideturtle()
# turtle.done()
import turtle as t
import random
screen =t.screen()
screen.bgcolor("pink")
t.Pen()
t.pensize(8)
t.pencolor("red")
Len = random.randint(50,200)
t.left(45)
t.forward(Len)
t.circle(Len/2,180)
t.right(90)
pen1.left(45)
pen1.forward(100)
pen1.circle(50,180)
Pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
tuple.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