Commit 4cb68b81 by BellCodeEditor

auto save

parent 654bc3ba
Showing with 22 additions and 0 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen = turtle.Pen()
pen.penup()
pen.goto(100,-100)
pen.write("此情此景,我想吟诗一首。\n床前明月光,\n外面都是霜。",font = ("Times",12,"normal"))
pen.hideturtle()
penone = turtle.Pen()
penone.pensize(10)
penone.pencolor("red")
len = 60
penone.left(45)
penone.forward(2*len)
penone.circle(len,180)
penone.right(90)
penone.circle(len,180)
penone.forward(2*len)
penone.hideturtle()
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