Commit 939bbdc8 by BellCodeEditor

save project

parent 387a4444
Showing with 16 additions and 3 deletions
# 利用write()帮助悟空给诺依回信吧~ # 利用write()帮助悟空给诺依回信吧~
import turtle import turtle
p1=turtle.Pen() # p1=turtle.Pen()
p1.write("诺伊,\nturtle真好用!\n我也会做贺卡了!",font=("微软雅黑",30,"normal")) # p1.write("诺伊,\nturtle真好用!\n我也会做贺卡了!",font=("微软雅黑",30,"normal"))
p1.hideturtle() # p1.hideturtle()
turtle.colormode(255)
p2=turtle.Pen()
p2.pensize(10)
p2.pencolor((255,20,147))
p2.setheading(45)
p2.forward(100)
p2.circle(100/2,180)
p2.right(90)
p2.circle(50,180)
p2.forward(100)
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