Commit 393219cf by BellCodeEditor

save project

parent a50ceeec
Showing with 41 additions and 0 deletions
import turtle
pen=turtle.pen()
pen.write(“诺伊/python写贺卡真是太有趣了/n喜欢”,fornt=("Times",18,"normal"))
pen.hideturtle()
pen1=turtle.pen()
pen1.pensize(5)
pen1.left(45)
pen1.forawd(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
pen1.hideturtle()
turtle.done
screen=turtle.screen
screen.bgcolour("yellow")
len=60
pen1.forward(len)
pen1.left(90)
pen1.forward(len*2)
pen1.left(90)
pen1.forward(len*2)
pen1.left(45)
pen1.forward(len*2)
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