Commit 30348d9e by BellCodeEditor

auto save

parent c2f1308f
Showing with 22 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file import turtle
pen=turtle.Pen()
pen.pensize(5)
def sj(b):
pen.pencolor(b)
for i in range(3):
pen.left(120)
pen.forward(100)
sj("red")
pen.penup()
pen.right(60)
pen.forward(100)
pen.left(60)
pen.pendown()
sj("blue")
pen.penup()
pen.forward(-100)
pen.pendown()
sj("pink")
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