Commit af011fa0 by BellCodeEditor

auto save

parent c66a449e
Showing with 8 additions and 1 deletions
# 利用write()帮助悟空给诺依回信吧~
'''# 利用write()帮助悟空给诺依回信吧~
import turtle
screen=turtle.Screen()
screen.bgcolor("light blue")
......@@ -20,3 +20,10 @@ pen.right(90)
pen.circle(len,180)
pen.forward(2*len)
turtle.done()
'''
import turtle
pen=turtle.Pen()
pen.write("诺依,\n我会用“write”回信了\n鸡你太美",font=("times",20,"normal"))
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