Commit 9e5bc27c by BellCodeEditor

auto save

parent 3cef8e49
Showing with 45 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file
import turtle
pen=turtle.Pen()
screen=turtle.Screen()#创建画布
pen.penup()
pen.setpos(250,-250)
pen.pendown()
pen.write("你好sb\n床前明月光\n李白喝鸡汤\n喝了一大缸\n尿了一裤裆",font=("heiti",20,"normal"))
pen.penup()
pen.goto(0,-50)
pen.pendown()
pen.fillcolor("red")
pen.begin_fill()
pen.left(45)
pen.forward(200)
pen.circle(100,180)
pen.right(90)
pen.circle(100,180)
pen.forward(200)
pen.end_fill()
screen.bgcolor("pink")
pen.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