Commit dea896df by BellCodeEditor

save project

parent 510cc750
Showing with 17 additions and 2 deletions
# 利用write()帮助悟空给诺依回信吧~
\ No newline at end of file
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
pen.pencolor("red")
pen.write("你好鸭!",font=("FangSong",30,"normal"))
pen.left(45)
pen.forward(100)
for i in range(180):
pen.left(1)
pen.forward(1)
pen.right(90)
for i in range(180):
pen.left(1)
pen.forward(1)
pen.forward(100)
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