Commit a5f8e5a8 by BellCodeEditor

auto save

parent a50ceeec
Showing with 24 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
s=turtle.Screen()
s.bgcolor("blue")
pen1=turtle.Pen()
pen1.penup()
pen1.goto(100,-100)
pen1.write("你好呀!诺伊!\n我学会编辑器了!\n哈哈哈哈哈!\n哈哈哈哈哈!",font=("Time",30,"normal"))
pen=turtle.Pen()
pen.pensize(5)
pen.pencolor("red")
pen.fillcolor("red")
pen.begin_fill()
len=90
pen.left(45)
pen.forward(2*len)
pen.circle(len,180)
pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
pen.end_fill()
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