Commit fdd5c3a2 by BellCodeEditor

save project

parent a50ceeec
Showing with 20 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
from random import randint
pen=turtle.Pen()
screen=turtle.Screen()
screen.bgcolor('green')
len=randint(50,150)
pen.pensize(2.5)
pen.left(45)
pen.pencolor('red')
pen.forward(len*2)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(len*2)
pen.penup()
pen.goto(100,-100)
pen.write('春晓\n春眠不觉晓\n处处蚊子咬',font=('Times',30,'normal'))
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