Commit ed2dd0f9 by BellCodeEditor

save project

parent 05119fc4
Showing with 13 additions and 4 deletions
# 利用write()帮助悟空给诺依回信吧~
import turtle
Pen=turtle.Pen()
Pen.write("你好诺伊,turtle真好用,我终于学会了",font=("times",30,"normal"))
# Pen=turtle.Pen()
# Pen.write("你好诺伊",front=("times",30,"normal"))
# turtle.done()
#画心
pen1=turtle.Pen()
pen1.pensize(10)
pen1.color("red")
pen1.left(45)
pen1.forward(100)
pen1.circle(40,180)
pen1.right(100)
pen1.circle(40,180)
pen1.forward(100)
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