赞
踩
大城堡在这
importturtleimporttime
turtle.setup(1000,1000,200,200)'''背景'''turtle.bgcolor('#191970')'''笔的大小'''turtle.pensize(5)
turtle.speed(15)
turtle.penup()
turtle.seth(180)
turtle.fd(450)
turtle.seth(90)
turtle.fd(220)'''1'''turtle.begin_fill()
turtle.fillcolor('#4b0082')
turtle.pendown()
turtle.seth(240)
turtle.fd(60)
turtle.penup()
turtle.seth(60)
turtle.fd(60)
turtle.pendown()
turtle.seth(300)
turtle.fd(60)
turtle.seth(180)
turtle.fd(60)
turtle.end_fill()
turtle.seth(267)
turtle.fd(200)
turtle.seth(87)
turtle.fd(200)
turtle.seth(0)
turtle.fd(60)
turtle.seth(273)
turtle.fd(200)
turtle.seth(0)
turtle.fd(50)
turtle.seth(180)
turtle.fd(200)
turtle.seth(270)
turtle.fd(230)
turtle.seth(0)
turtle.fd(150)
turtle.begin_fill()
turtle.fillcolor('#483d8b')
turtle.seth(90)
turtle.fd(140)
turtle.circle(35,180)
turtle.seth(270)
turtle.fd(140)
turtle.seth(0)
turtle.fd(120)
turtle.end_fill()'''2'''turtle.seth(270)
turtle.fd(30)
turtle.seth(0)
turtle.fd(50)
turtle.penup()
turtle.seth(180)
turtle.fd(50)
turtle.pendown()
turtle.seth(90)
turtle.fd(350)
turtle.seth(180)
turtle.fd(10)
turtle.begin_fill()
turtle.fillcolor('#4b0082')
turtle.seth(90)
turtle.fd(70)
turtle.seth(0)
turtle.fd(20)
turtle.seth(270)
turtle.fd(30)
turtle.seth(0)
turtle.fd(20)
turtle.seth(90)
turtle.fd(30)
turtle.seth(0)
turtle.fd(20)
turtle.seth(270)
turtle.fd(30)
turtle.seth(0)
turtle.fd(20)
turtle.seth(90)
turtle.fd(30)
turtle.seth(0)
turtle.fd(20)
turtle.seth(270)
turtle.fd(70)
turtle.seth(180)
turtle.fd(100)
turtle.end_fill()
turtle.penup()
turtle.seth(0)
turtle.fd(40)
turtle.seth(270)
turtle.fd(30)'''中间不规则'''turtle.begin_fill()
turtle.fillcolor('#483d8b')
turtle.pendown()
turtle.circle(15,-180)
turtle.seth(270)
turtle.fd(45)
turtle.seth(180)
turtle.fd(30)
turtle.seth(90)
turtle.fd(45)
turtle.end_fill()
turtle.penup()
turtle.seth(90)
turtle.fd(30)
turtle.seth(0)
turtle.fd(55)'''3'''turtle.pendown()
turtle.seth(270)
turtle.fd(35)
turtle.seth(180)
turtle.fd(5)
turtle.seth(264)
turtle.fd(350)
turtle.seth(0)
turtle.fd(200)'''大门'''turtle.seth(270)
turtle.fd(10)
turtle.begin_fill()
turtle.fillcolor('#483d8b')
turtle.seth(0)
turtle.fd(20)
turtle.seth(89)
turtle.fd(150)
turtle.seth(-90)
turtle.circle(55,-180)
turtle.seth(271)
turtle.fd(150)
turtle.seth(180)
turtle.fd(134)
turtle.seth(88)
turtle.fd(155)
turtle.seth(-90)
turtle.circle(71,-180)
turtle.seth(273)
turtle.fd(155)
turtle.seth(180)
turtle.fd(30)
turtle.end_fill()
turtle.seth(0)
turtle.fd(30)
turtle.seth(90)
turtle.fd(10)
turtle.seth(0)
turtle.fd(200)
turtle.seth(96)
turtle.fd(350)'''城墙'''turtle.seth(180)
turtle.fd(50)
turtle.seth(270)
turtle.fd(50)
turtle.seth(180)
turtle.fd(56)
turtle.seth(90)
turtle.fd(50)
turtle.seth(180)
turtle.fd(50)
turtle.seth(270)
turtle.fd(50)
turtle.seth(180)
turtle.fd(58)
turtle.seth(90)
turtle.fd(50)
turtle.seth(180)
turtle.fd(50)
turtle.seth(270)
turtle.fd(50)
turtle.seth(180)
turtle.fd(56)
turtle.seth(90)
turtle.fd(50)
turtle.seth(180)
turtle.fd(50)
turtle.seth(270)
turtle.fd(50)
turtle.seth(180)
turtle.fd(56)
turtle.seth(90)
turtle.fd(50)
turtle.seth(180)
turtle.fd(52)'''城墙上的房子'''turtle.penup()
turtle.seth(0)
turtle.fd(115)
turtle.pendown()
turtle.seth(89)
turtle.fd(140)
turtle.begin_fill()
turtle.fillcolor('#4b0082')
turtle.seth(43)
turtle.fd(170)
turtle.seth(-43)
turtle.fd(170)
turtle.seth(180)
turtle.fd(250)
turtle.end_fill()'''窗户'''turtle.penup()
turtle.seth(270)
turtle.fd(40)
turtle.seth(0)
turtle.fd(160)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#483d8b')
turtle.seth(90)
turtle.circle(30,180)
turtle.seth(270)
turtle.fd(70)
turtle.seth(0)
turtle.fd(60)
turtle.seth(90)
turtle.fd(70)
turtle.end_fill()
turtle.seth(180)
turtle.fd(61)
turtle.penup()
turtle.seth(90)
turtle.fd(40)
turtle.seth(0)
turtle.fd(150)
turtle.pendown()
turtle.seth(271)
turtle.fd(140)
turtle.penup()
turtle.seth(0)
turtle.fd(100)
turtle.pendown()'''右半部分'''turtle.seth(90)
turtle.fd(30)
turtle.begin_fill()
turtle.fillcolor('#4b0082')
turtle.seth(180)
turtle.fd(15)
turtle.seth(90)
turtle.fd(70)'''城墙'''turtle.seth(0)
turtle.fd(25)
turtle.seth(270)
turtle.fd(30)
turtle.seth(0)
turtle.fd(25)
turtle.seth(90)
turtle.fd(30)
turtle.seth(0)
turtle.fd(25)
turtle.seth(270)
turtle.fd(30)
turtle.seth(0)
turtle.fd(25)
turtle.seth(90)
turtle.fd(30)
turtle.seth(0)
turtle.fd(25)
turtle.seth(270)
turtle.fd(70)
turtle.seth(180)
turtle.fd(110)
turtle.end_fill()'''其他'''turtle.penup()
turtle.seth(0)
turtle.fd(100)
turtle.pendown()
turtle.seth(270)
turtle.fd(340)
turtle.seth(180)
turtle.fd(58)
turtle.penup()
turtle.seth(90)
turtle.fd(310)
turtle.seth(0)
turtle.fd(30)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#483d8b')
turtle.seth(90)
turtle.circle(15,180)
turtle.seth(270)
turtle.fd(45)
turtle.seth(0)
turtle.fd(30)
turtle.seth(90)
turtle.fd(45)
turtle.end_fill()
turtle.penup()
turtle.seth(0)
turtle.fd(29)
turtle.seth(270)
turtle.fd(280)
turtle.pendown()
turtle.seth(0)
turtle.fd(45)
turtle.begin_fill()
turtle.fillcolor('#483d8b')
turtle.seth(90)
turtle.fd(150)
turtle.seth(270)
turtle.circle(30,-180)
turtle.seth(-90)
turtle.fd(150)
turtle.seth(180)
turtle.fd(60)
turtle.end_fill()
turtle.seth(0)
turtle.fd(140)
turtle.seth(90)
turtle.fd(250)
turtle.seth(180)
turtle.fd(190)
turtle.seth(0)
turtle.fd(70)
turtle.seth(87)
turtle.fd(200)
turtle.seth(0)
turtle.fd(10)
turtle.begin_fill()
turtle.fillcolor('#4b0082')
turtle.circle(15,-180)
turtle.seth(270)
turtle.circle(15,-180)
turtle.seth(-90)
turtle.circle(15,-180)
turtle.seth(180)
turtle.circle(15,-180)
turtle.end_fill()
turtle.seth(0)
turtle.fd(10)
turtle.seth(271)
turtle.fd(200)'''月亮'''turtle.penup()
turtle.left(180)
turtle.fd(410)
turtle.left(90)
turtle.fd(260)
turtle.pendown()
turtle.speed(10)
turtle.begin_fill()
turtle.pencolor('yellow')
turtle.circle(100,360)
turtle.fillcolor('yellow')
turtle.end_fill()'''星星'''turtle.penup()
turtle.left(25)
turtle.fd(530)
turtle.pendown()
turtle.begin_fill()
turtle.pencolor('yellow')
turtle.fillcolor('yellow')for i in range(5):
turtle.forward(25)
turtle.right(144)
turtle.end_fill()
turtle.penup()
turtle.seth(120)
turtle.fd(50)
turtle.pendown()
turtle.begin_fill()
turtle.pencolor('yellow')
turtle.fillcolor('yellow')for i in range(5):
turtle.forward(45)
turtle.right(144)
turtle.end_fill()
turtle.penup()
turtle.seth(150)
turtle.fd(180)
turtle.pendown()
turtle.begin_fill()
turtle.pencolor('yellow')
turtle.fillcolor('yellow')for i in range(5):
turtle.forward(35)
turtle.right(144)
turtle.end_fill()
turtle.penup()
turtle.seth(-150)
turtle.fd(180)
turtle.pendown()
turtle.begin_fill()
turtle.pencolor('yellow')
turtle.fillcolor('yellow')for i in range(5):
turtle.forward(28)
turtle.right(144)
turtle.end_fill()
turtle.penup()
turtle.seth(0)
turtle.fd(1200)
turtle.pendown()
turtle.begin_fill()
turtle.pencolor('yellow')
turtle.fillcolor('yellow')for i in range(5):
turtle.forward(38)
turtle.right(144)
turtle.end_fill()
turtle.penup()
turtle.seth(135)
turtle.fd(130)
turtle.pendown()
turtle.begin_fill()
turtle.pencolor('yellow')
turtle.fillcolor('yellow')for i in range(5):
turtle.forward(20)
turtle.right(144)
turtle.end_fill()'''月亮'''turtle.penup()
turtle.seth(180)
turtle.fd(300)
turtle.seth(-45)
turtle.fd(25)
turtle.pendown()
turtle.speed(15)
turtle.begin_fill()
turtle.pencolor('#191970')
turtle.circle(100,360)
turtle.fillcolor('#191970')
turtle.end_fill()'''文字'''turtle.speed(8)
turtle.penup()
turtle.seth(-90)
turtle.fd(380)
turtle.seth(180)
turtle.fd(400)
turtle.pendown()
turtle.pencolor('#FAEBD7')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.pencolor('#FF00FF')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
turtle.pencolor('#FFFF00')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.pencolor('#00C78C')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.pencolor('#87CEEB')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.pencolor('#00FFFF')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.pencolor('#00C957')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.pencolor('#40E0D0')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.pencolor('#FFFF00')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.pencolor('#00C78C')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.pencolor('#87CEEB')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.pencolor('#00FFFF')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.pencolor('#00C957')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.pencolor('#40E0D0')
s="The princess castle"turtle.write(s,font=("Script MT Bold","35"))
time.sleep(0.4)
turtle.penup()
turtle.seth(90)
turtle.fd(370)
turtle.seth(0)
turtle.fd(400)
turtle.pendown()
turtle.pencolor('#A020F0')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#FF6347')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#7CFC00')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#ED9121')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#FFFF00')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#7FFF00')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#A020F0')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#FF6347')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#7CFC00')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#ED9121')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#FFFF00')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#7FFF00')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#A020F0')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#FF6347')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#7CFC00')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#ED9121')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#FFFF00')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
turtle.pencolor('#7FFF00')
s="我们的公主梦"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.4)
time.sleep(1)'''表情'''turtle.clear()
turtle.bgcolor('white')'''开始'''turtle.pensize(2)
time.sleep(0.5)
turtle.speed(9)
turtle.penup()
turtle.seth(180)
turtle.fd(380)
turtle.seth(-90)
turtle.fd(200)
turtle.pendown()
turtle.begin_fill()
turtle.pencolor('#734A12')
turtle.circle(200,360)
turtle.fillcolor('yellow')
turtle.end_fill()
turtle.penup()
turtle.circle(200,45)
turtle.seth(0)
turtle.fd(272)
turtle.seth(90)
turtle.fd(275)
turtle.pendown()
turtle.pensize(5)
turtle.pencolor('black')
turtle.seth(90)
turtle.circle(30,180)
turtle.seth(180)
turtle.penup()
turtle.fd(140)
turtle.pendown()
turtle.seth(90)
turtle.circle(30,180)
turtle.penup()
turtle.fd(140)
turtle.seth(0)
turtle.fd(30)
turtle.pendown()
turtle.begin_fill()
turtle.pencolor('#734A12')
turtle.circle(55,360)
turtle.fillcolor('#734A12')
turtle.end_fill()
turtle.penup()
turtle.fd(200)
turtle.pendown()
turtle.begin_fill()
turtle.circle(55,360)
turtle.fillcolor('#734A12')
turtle.end_fill()'''眼珠子'''turtle.penup()
turtle.seth(30)
turtle.fd(35)
turtle.pendown()
turtle.begin_fill()
turtle.circle(15,360)
turtle.fillcolor('white')
turtle.end_fill()
turtle.penup()
turtle.seth(145)
turtle.fd(45)
turtle.seth(35)
turtle.pendown()
turtle.begin_fill()
turtle.circle(30,360)
turtle.fillcolor('white')
turtle.end_fill()
turtle.penup()
turtle.seth(180)
turtle.fd(200)
turtle.seth(35)
turtle.pendown()
turtle.begin_fill()
turtle.circle(30,360)
turtle.fillcolor('white')
turtle.end_fill()
turtle.penup()
turtle.seth(-35)
turtle.fd(45)
turtle.seth(35)
turtle.pendown()
turtle.begin_fill()
turtle.circle(15,360)
turtle.fillcolor('white')
turtle.end_fill()'''腮红'''turtle.penup()
turtle.seth(-90)
turtle.fd(12)
turtle.seth(-145)
turtle.pendown()
turtle.pencolor('#FF6347')
turtle.begin_fill()
turtle.fillcolor('#FF6347')
turtle.circle(-55,70)
turtle.seth(180)
turtle.circle(15,120)
turtle.left(13)
turtle.circle(60,90)
turtle.circle(15,120)
turtle.penup()
turtle.seth(0)
turtle.fd(198)
turtle.pendown()
turtle.seth(-145)
turtle.pendown()
turtle.circle(-55,70)
turtle.seth(180)
turtle.circle(15,120)
turtle.left(13)
turtle.circle(60,90)
turtle.circle(15,120)
turtle.end_fill()
turtle.penup()
turtle.seth(270)
turtle.fd(58)
turtle.seth(180)
turtle.fd(45)
turtle.pendown()'''鼻子'''turtle.pencolor('#000000')
turtle.seth(70)
turtle.circle(50,-133)
turtle.seth(65)
turtle.circle(50,-130)
turtle.penup()
turtle.seth(0)
turtle.fd(88)
turtle.pendown()'''嘴巴'''turtle.begin_fill()
turtle.fillcolor('#B22222')
turtle.seth(69)
turtle.circle(50,-68)
turtle.seth(-90)
turtle.circle(120,54)
turtle.seth(26)
turtle.circle(110,66)
turtle.pensize(1)
turtle.seth(17)
turtle.circle(53,-75)
turtle.end_fill()
turtle.penup()
turtle.seth(270)
turtle.fd(280)
turtle.seth(180)
turtle.fd(450)
turtle.pendown()
turtle.pensize(40)
turtle.pencolor("#FF0000")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#FF6100")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#FF0000")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#00FF00")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#00FFFF")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#0000FF")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#A020F0")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#FF7F50")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#33A1C9")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#4169E1")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#FF0000")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#FF6100")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#FF0000")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#00FF00")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#00FFFF")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#0000FF")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#A020F0")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#FF7F50")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#33A1C9")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.pencolor("#4169E1")
s="投个票,好吗?比心哦~"turtle.write(s,font=("华文行楷","50"))
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.fd(680)
turtle.seth(90)
turtle.fd(90)
turtle.pendown()"""小爱心"""turtle.pensize(1)
turtle.pencolor('black')
turtle.speed(20)
turtle.begin_fill()
turtle.fillcolor('#FF00FF')
turtle.seth(35)
turtle.fd(18)
turtle.circle(10,200)
turtle.seth(125)
turtle.circle(10,200)
turtle.fd(18)
turtle.end_fill()
turtle.penup()
turtle.seth(40)
turtle.fd(49)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF00FF')
turtle.seth(35)
turtle.fd(15)
turtle.circle(9,200)
turtle.seth(125)
turtle.circle(9,200)
turtle.fd(15)
turtle.end_fill()
turtle.penup()
turtle.seth(45)
turtle.fd(40)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF00FF')
turtle.seth(35)
turtle.fd(10)
turtle.circle(5,200)
turtle.seth(125)
turtle.circle(5,200)
turtle.fd(10)
turtle.end_fill()
turtle.penup()
turtle.seth(50)
turtle.fd(30)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF00FF')
turtle.seth(35)
turtle.fd(10)
turtle.circle(5,200)
turtle.seth(125)
turtle.circle(5,200)
turtle.fd(10)
turtle.end_fill()
turtle.penup()
turtle.seth(50)
turtle.fd(30)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF00FF')
turtle.seth(35)
turtle.fd(10)
turtle.circle(5,200)
turtle.seth(125)
turtle.circle(5,200)
turtle.fd(10)
turtle.end_fill()
turtle.penup()
turtle.seth(50)
turtle.fd(25)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF00FF')
turtle.seth(35)
turtle.fd(5)
turtle.circle(3,200)
turtle.seth(125)
turtle.circle(3,200)
turtle.fd(5)
turtle.end_fill()
turtle.penup()
turtle.seth(50)
turtle.fd(25)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF00FF')
turtle.seth(35)
turtle.fd(5)
turtle.circle(3,200)
turtle.seth(125)
turtle.circle(3,200)
turtle.fd(5)
turtle.end_fill()
time.sleep(2)
turtle.clear()
turtle.penup()
turtle.seth(180)
turtle.fd(850)
turtle.seth(90)
turtle.fd(200)
turtle.pendown()
turtle.pencolor("#8A2BE2")
s="Thanks for watching"turtle.write(s,font=("Script MT Bold","80"))
time.sleep(0.2)
turtle.pencolor("#FF00FF")
s="Thanks for watching"turtle.write(s,font=("Script MT Bold","80"))
time.sleep(0.2)
turtle.pencolor("#0000FF")
s="Thanks for watching"turtle.write(s,font=("Script MT Bold","80"))
time.sleep(0.2)
turtle.pencolor("#9933FA")
s="Thanks for watching"turtle.write(s,font=("Script MT Bold","80"))'''小爱心'''turtle.pensize(1)
turtle.pencolor('black')
turtle.penup()
turtle.seth(4)
turtle.fd(910)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF00FF')
turtle.seth(35)
turtle.fd(18)
turtle.circle(10,200)
turtle.seth(125)
turtle.circle(10,200)
turtle.fd(18)
turtle.end_fill()
turtle.penup()
turtle.seth(40)
turtle.fd(49)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF00FF')
turtle.seth(35)
turtle.fd(15)
turtle.circle(9,200)
turtle.seth(125)
turtle.circle(9,200)
turtle.fd(15)
turtle.end_fill()
turtle.penup()
turtle.seth(45)
turtle.fd(40)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF00FF')
turtle.seth(35)
turtle.fd(10)
turtle.circle(5,200)
turtle.seth(125)
turtle.circle(5,200)
turtle.fd(10)
turtle.end_fill()'''大爱心'''turtle.speed(15)
turtle.pencolor('red')
turtle.penup()
turtle.seth(270)
turtle.fd(600)
turtle.seth(180)
turtle.fd(530)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('red')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.speed(50)'''2'''turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF4500')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)'''3'''turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#E3170D')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)'''4'''turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF6347')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF6347')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('red')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#E3170D')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF4500')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)'''3'''turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#E3170D')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)'''4'''turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF6347')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF6347')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('red')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#E3170D')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF4500')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)'''3'''turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#E3170D')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)'''4'''turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF6347')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF6347')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('red')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#E3170D')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF4500')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)'''3'''turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#E3170D')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)'''4'''turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF6347')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
time.sleep(0.3)
turtle.penup()
turtle.seth(0)
turtle.pendown()
turtle.begin_fill()
turtle.fillcolor('#FF6347')
turtle.begin_fill()
turtle.seth(35)
turtle.fd(255)
turtle.circle(150,200)
turtle.seth(125)
turtle.circle(150,200)
turtle.fd(255)
turtle.end_fill()
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。