Commit 552a68c5 by BellCodeEditor

save project

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