Commit 2c020448 by BellCodeEditor

save project

parent 9231acea
Showing with 10 additions and 4 deletions
import turtle import turtle
screen=tuple.Screen()
screen.bgclor("light blue")
pen=turtle.pen() pen=turtle.pen()
pen.penup()
pen.goto(100,-100)
pen.write(“嗨,诺依~\npython写电子贺卡真是太有趣了~\n我也喜欢python~\n悟空",font=(times",20,"nomal")) pen.write(“嗨,诺依~\npython写电子贺卡真是太有趣了~\n我也喜欢python~\n悟空",font=(times",20,"nomal"))
pen.hidetutle() pen.hidetutle()
pan1.tutle.pen() pan1.tutle.pen()
pan.pancolor("red") pan.pancolor("red")
pan1.pensize(5) pan1.pensize(5)
len=60
pan1.left(45) pan1.left(45)
pan1.foreard(100) pani.forward(2*len)
pan1.circle(50,180) pan1.circle(100,180)
pen1.right(90) pen1.right(90)
pan1.circle(50,180) pan1.circle(100,180)
pan1.foreard(100) pan1.forward(2*len)
pan1.hidetutle() pan1.hidetutle()
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