Commit 45508034 by BellCodeEditor

save project

parent 085828e1
Showing with 16 additions and 5 deletions
......@@ -15,18 +15,29 @@
# print("你赢了")
# else:
# print("你输了")
# import turtle
# pen=turtle.Pen()
# pen.write("送给诺伊!\n 新年开始 ",font=("华文琥珀",30,"normal"))
# turtle.done()
import turtle
screen=turtle.Screen()
screen.bgcolor("pink")
pen=turtle.Pen()
pen.penup()
pen.goto(100,-200)
pen.write("送给诺伊!\n 我也很喜欢python! ",font=("宋体",20,"normal"))
pen1=turtle.Pen()
pen1.speed(1)
pen1.color("red")
pen1.right(-45)
pen1.fillcolor("red")
pen1.begin_fill()
pen1.forward(100)
pen1.circle(50,180)
pen1.right(90)
pen1.circle(50,180)
pen1.forward(100)
turtle.done
pen1.end_fill()
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