Commit 3a68fb85 by BellCodeEditor

save project

parent aa9946ad
Showing with 11 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
pen=turtle.Pen() penSB=turtle.Pen()
pen.write("Hi,诺依~\n用python写电子贺卡真是太有趣啦~\n我也喜欢python~\n——SB"("Times",18,"normal")) penSB.pencolor("green")
pen.hideturtle() penSB.pensize(5)
penSB.left(45)
penSB.forward(100)
penSB.circle(50,180)
penSB.right(90)
penSB.circle(50,180)
penSB.forward(100)
penSB.hideturtle()
turtle.done() 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