Commit 8cc838f9 by BellCodeEditor

save project

parent 1dfd8d5c
Showing with 21 additions and 0 deletions
import turtle
import random
screen=turtle.Screen()
screen.bgcolor("light blue")
sb=turtle.Pen()
sb.penup()
sb.goto(0,-250)
sb.write("诺依,\n你好呀!\n我收到了你的礼物.\n谢谢你!\n",font=("Times",30,"normal"))
sb.hideturtle()
SB=turtle.Pen()
SB.pencolor("red")
SB.pensize(5)
len=random.randint(50,100)
SB.left(45)
SB.forward(2*len)
SB.circle(len,180)
SB.right(90)
SB.circle(len,180)
SB.forward(2*len)
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