【无标题】作业

import turtle as t #定义一个曲线绘制函数
import time #时间模块
t.setup(1580,800,0,0) #设置窗体的位置和大小相对于桌面的起始点的坐标以及窗口的宽度高度,若不写窗口的起始点,则默认在桌面的正中心
t.speed(0) #控制画笔速度speed(0)的时候最快
t.pensize(3) #调整画笔的粗细为3
t.up() #将提起笔
t.goto(0,-190) #移动到绝对位置(0,-190)
t.seth(90) #改变海龟的行进方向角度按逆时针90绝对度数
t.fd(110) #向前行进110
t.seth(10) #只改变行进方向但不行进,10为绝对度数
t.fd(-15) #向前行进-15
t.pd() #pendown()画笔落下,留下痕迹
t.fd(-10) #向前行进-10
t.up() #将提起笔
t.goto(0,-80) #移动到绝对位置(0,-80)
t.seth(-5) #只改变海龟的行进方向角度
t.pd() #画笔落下
t.fd(40)#嘴
#鼻子
t.up()#将提起笔
t.goto(0,-25) #移动到绝对位置
t.seth(0) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(12,90) #画一个圆弧
t.seth(135) #改变海龟的行进方向
t.circle(-35,45) #画一个圆弧
t.seth(-125) #改变海龟的行进方向
t.circle(40,60) #画一个圆弧
#左眼第一层
t.up()#将提起笔
t.goto(0,210) #移动到绝对位置
t.seth(167) #改变海龟的行进方向
t.pd() #画笔落下
t.fillcolor("black") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(910,26) #画一个圆弧
t.seth(230) #改变海龟的行进方向
t.circle(145,80) #画一个圆弧
t.circle(225,43) #画一个圆弧
t.circle(225,43) #画一个圆弧
t.circle(170,90) #画一个圆弧
t.end_fill() #填充颜色结束
#左眼第二次
t.up()#将提起笔
t.fd(-17)#向前行进
t.seth(171)
t.pd() #画笔落下
t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(910,22) #画一个圆弧
t.seth(232) #改变海龟的行进方向
t.circle(145,83) #画一个圆弧
t.circle(223,42) #画一个圆弧
t.circle(223,42) #画一个圆弧
t.circle(167,90) #画一个圆弧
t.end_fill() #填充颜色结束
#右眼1
t.up()#将提起笔
t.goto(0,210) #移动到绝对位置
t.seth(13) #改变海龟的行进方向
t.pd() #画笔落下
t.fillcolor("black") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(-910,26) #画一个圆弧
t.seth(-50) #改变海龟的行进方向
t.circle(-145,80) #画一个圆弧
t.circle(-225,43) #画一个圆弧
t.circle(-225,43) #画一个圆弧
t.circle(-170,90) #画一个圆弧
t.end_fill() #填充颜色结束
#右眼2
t.up()#将提起笔
t.fd(-17)#向前行进
t.seth(9) #改变海龟的行进方向
t.pd() #画笔落下
t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(-910,22) #画一个圆弧
t.seth(-52) #改变海龟的行进方向
t.circle(-145,83) #画一个圆弧
t.circle(-223,42) #画一个圆弧
t.circle(-223,42) #画一个圆弧
t.circle(-167,90) #画一个圆弧
t.end_fill() #填充颜色结束
#脸型左
t.up()#将提起笔
t.goto(0,-190) #移动到绝对位置
t.seth(170) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(-580,25) #画一个圆弧
t.circle(-120,30) #画一个圆弧
t.circle(620,22) #画一个圆弧
t.circle(-380,35) #画一个圆弧
#脸型右
t.up()#将提起笔
t.goto(0,-190) #移动到绝对位置
t.seth(10) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(580,30) #画一个圆弧
t.circle(120,25) #画一个圆弧
t.circle(-620,22) #画一个圆弧
t.circle(380,35) #画一个圆弧
#左眼球
t.up()#将提起笔
t.goto(-185,160) #移动到绝对位置
t.seth(-65) #改变海龟的行进方向
t.pd() #画笔落下
t.fillcolor("black") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(-45,220) #画一个圆弧
t.circle(-190,10) #画一个圆弧
t.up()#将提起笔
t.goto(-185,160) #向前行进
t.seth(160) #改变海龟的行进方向
t.pd() #画笔落下
t.pensize(6) #调整画笔的粗细
t.fd(-15)#向前行进
t.fd(93) #向前行进
t.end_fill() #填充颜色结束
#zuo眼
t.seth(190) #改变海龟的行进方向
t.circle(160,35) #画一个圆弧
t.left(90) #改变海龟的行进方向
t.fd(8)#向前行进
t.pensize(5) #调整画笔的粗细
t.fd(7)#向前行进
t.pensize(4) #调整画笔的粗细
t.fd(6)#向前行进
t.pensize(3) #调整画笔的粗细
t.fd(5)#向前行进
t.up()#将提起笔
t.fd(45)#向前行进
t.seth(0) #改变海龟的行进方向
t.fd(15) #向前行进
t.pd() #画笔落下
t.seth(-40) #改变海龟的行进方向
t.circle(55,95) #画一个圆弧
#右眼
t.up()#将提起笔
t.goto(185,160) #向前行进
t.seth(245) #改变海龟的行进方向
t.pd() #画笔落下
t.fillcolor("black") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(45,220) #画一个圆弧
t.circle(190,10) #画一个圆弧
t.up()#将提起笔
t.goto(185,160) #向前行进
t.seth(20) #改变海龟的行进方向
t.pd() #画笔落下
t.pensize(6) #调整画笔的粗细
t.fd(-35)#向前行进
t.fd(113)#向前行进
t.end_fill() #填充颜色结束
#you
t.seth(-10) #改变海龟的行进方向
t.circle(-150,35) #画一个圆弧
t.right(90) #改变海龟的行进方向
t.fd(8)#向前行进
t.pensize(5) #调整画笔的粗细
t.fd(7)#向前行进
t.pensize(4) #调整画笔的粗细
t.fd(6)#向前行进
t.pensize(3) #调整画笔的粗细
t.fd(5)#向前行进
t.up()#将提起笔
t.fd(45)#向前行进
t.seth(180) #改变海龟的行进方向
t.fd(15)#向前行进
t.seth(220) #改变海龟的行进方向
t.circle(-55,95) #画一个圆弧
t.seth(-30) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(95,70) #画一个圆弧

#左
t.up()#将提起笔
t.pencolor("white") #画笔颜色为
t.pensize(7) #调整画笔的粗细
t.goto(-255,180)#向前行进
t.seth(-75) #改变海龟的行进方向
t.pd() #画笔落下
t.fd(82)#向前行进

t.up()#将提起笔
t.pensize(4) #调整画笔的粗细
t.goto(-267,148) #向前行进
t.pd() #画笔落下
t.fd(35)#向前行进
t.pencolor("black") #画笔颜色为
t.pensize(3) #调整画笔的粗细

t.up()#将提起笔
t.goto(-185,160) #向前行进
t.seth(-65) #改变海龟的行进方向
t.pd() #画笔落下
t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(-30,220) #画一个圆弧
t.circle(-150,8) #画一个圆弧
t.end_fill() #填充结束
#右
t.up()#将提起笔
t.pencolor("white") #画笔颜色为
t.pensize(9) #调整画笔的粗细
t.goto(210,145) #向前行进
t.seth(-75) #改变海龟的行进方向
t.pd() #画笔落下
t.fd(48) #向前行进

t.up()#将提起笔
t.goto(183,148) #向前行进
t.pd() #画笔落下
t.pensize(4) #调整画笔的粗细
t.fd(45)#向前行进
t.pencolor("black") #填充颜色为
t.pensize(3) #调整画笔的粗细

t.up()#将提起笔
t.goto(185,160) #向前行进
t.seth(20) #改变海龟的行进方向
t.fd(20) #向前行进

t.seth(245) #改变海龟的行进方向
t.pd() #画笔落下
t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(35,220) #画一个圆弧
t.circle(145,11) #画一个圆弧
t.end_fill() #填充结束
#左耳朵外围两个圆弧
t.up()#将提起笔
t.goto(-251,-80) #向前行进
t.pd()  #画笔落下
t.seth(170) #改变海龟的行进方向
t.circle(-350,70) #画一个圆弧
t.circle(-30,170) #画一个圆弧
#内部第1个圆弧
t.up()#将提起笔
t.goto(-280,-30) #向前行进
t.seth(176) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(-190,60) #画一个圆弧
#内部第2个圆弧
t.up()#将提起笔
t.goto(-330,50) #向前行进
t.pd() #画笔落下
t.seth(150) #改变海龟的行进方向
t.circle(135,45) #画一个圆弧
#右耳朵外围两个圆弧
t.up()#将提起笔
t.goto(251,-80) #向前行进
t.pd() #画笔落下
t.seth(10) #改变海龟的行进方向
t.circle(350,75) #画一个圆弧
t.circle(17,170) #画一个圆弧
#右耳朵内部第1个圆弧
t.up()#将提起笔
t.goto(297,-30) #向前行进
t.seth(4) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(190,80) #画一个圆弧
t.up()#将提起笔
t.goto(348,50) #向前行进
#右耳朵内部第2个圆弧
t.pd() #画笔落下
t.seth(45) #改变海龟的行进方向
t.circle(-165,45) #画一个圆弧
#右耳朵内部第3个圆弧
t.up()#将提起笔
t.goto(348,50) #向前行进
t.seth(60) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(-200,56) #画一个圆弧
#zuo边头发
t.up()#将提起笔
t.goto(-640,395) #向前行进
t.pd() #画笔落下
t.seth(-160) #改变海龟的行进方向
t.circle(155,60) #画一个圆弧
t.seth(70) #改变海龟的行进方向
t.circle(-174,72) #画一个圆弧
t.seth(-140) #改变海龟的行进方向
t.circle(320,45) #画一个圆弧
t.circle(120,45) #画一个圆弧
t.seth(85) #改变海龟的行进方向
t.circle(-360,55) #画一个圆弧
#左边头发
t.up()#将提起笔
t.goto(-500,395) #向前行进
t.pd() #画笔落下
t.seth(-120) #改变海龟的行进方向
t.circle(350,45) #画一个圆弧
#左边头发
t.up()#将提起笔
t.goto(-500,395) #向前行进
t.pd() #画笔落下
t.pensize(1)
t.seth(-150) #改变海龟的行进方向
t.circle(375,50) #画一个圆弧
#左边头发
t.up()#将提起笔
t.goto(-500,395) #向前行进
t.pd() #画笔落下
t.pensize(3)
t.seth(-120) #改变海龟的行进方向
t.circle(350,45) #画一个圆弧
t.seth(90) #改变海龟的行进方向
t.circle(-380,47)  #画一个圆弧
t.seth(0) #改变海龟的行进方向
t.fd(30)#向前行进
t.seth(-130) #改变海龟的行进方向
t.circle(380,15) #画一个圆弧
t.seth(40) #改变海龟的行进方向
t.circle(-380,25) #画一个圆弧
#左边头发
t.up()#将提起笔
t.seth(0) #改变海龟的行进方向
t.fd(-80) #向前行进
t.seth(-130) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(360,7) #画一个圆弧
t.seth(40) #改变海龟的行进方向
t.circle(-380,22) #画一个圆弧
#左边头发
t.up()#将提起笔
t.goto(-500,395) #向前行进
t.seth(-110) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(375,27) #画一个圆弧
t.seth(-90) #改变海龟的行进方向
t.circle(140,100) #画一个圆弧
t.seth(138) #改变海龟的行进方向
t.circle(-510,14) #画一个圆弧
t.circle(-65,70) #画一个圆弧
t.fd(30)#向前行进
#左边头发
t.up()#将提起笔
t.seth(90) #改变海龟的行进方向
t.fd(25)#向前行进
t.pd() #画笔落下
t.seth(-95) #改变海龟的行进方向
t.circle(180,36) #画一个圆弧
t.seth(100) #改变海龟的行进方向
t.circle(-200,23) #画一个圆弧
t.circle(-130,45) #画一个圆弧
t.fd(35)#向前行进
t.seth(-135) #改变海龟的行进方向
t.circle(230,43) #画一个圆弧
t.seth(45) #改变海龟的行进方向
t.circle(230,43) #画一个圆弧
t.seth(-110) #改变海龟的行进方向
t.circle(200,45) #画一个圆弧
t.seth(100) #改变海龟的行进方向
t.circle(-170,38) #画一个圆弧

t.up()#将提起笔
t.seth(76) #改变海龟的行进方向
t.fd(35)#向前行进
t.pd() #画笔落下
t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.seth(-107) #改变海龟的行进方向
t.circle(253,50) #画一个圆弧
t.seth(103) #改变海龟的行进方向
t.circle(-200,43) #画一个圆弧
t.end_fill() #结束填充

t.up()#将提起笔
t.fd(42)#向前行进
t.seth(0) #改变海龟的行进方向
t.fd(-12)#向前行进
t.pd() #画笔落下
t.seth(-115) #改变海龟的行进方向
t.circle(235,42) #画一个圆弧

t.up()#将提起笔
t.seth(100) #改变海龟的行进方向
t.circle(-220,22) #画一个圆弧
t.pd() #画笔落下
t.pensize(2) #画笔大小
t.circle(-220,23) #画一个圆弧
t.seth(-100) #改变海龟的行进方向
t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充
t.circle(260,40) #画一个圆弧
t.seth(130) #改变海龟的行进方向
t.circle(-235,36) #画一个圆弧
t.end_fill() #结束填充

t.pensize(3) #画笔大小
t.seth(90) #改变海龟的行进方向
t.circle(-200,32) #画一个圆弧
t.seth(-90) #改变海龟的行进方向
t.circle(105,45) #画一个圆弧
t.seth(-26) #改变海龟的行进方向
t.fd(80)#向前行进
t.seth(97) #改变海龟的行进方向
t.fd(105)#向前行进
t.seth(-33) #改变海龟的行进方向
t.fd(135)#向前行进

t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.up() #提起画笔
t.fd(35)#向前行进
t.seth(-65) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(-225,70) #画一个圆弧
t.seth(55) #改变海龟的行进方向
t.circle(225,33) #画一个圆弧
t.end_fill() #结束填充
t.circle(155,20)
t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(155,43) #画一个圆弧
t.seth(-75) #改变海龟的行进方向
t.circle(400,14.5) #画一个圆弧
t.end_fill() #结束填充

t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(400,8.5) #画一个圆弧
t.circle(-450,15) #画一个圆弧
t.seth(170) #改变海龟的行进方向
t.circle(-510,18) #画一个圆弧
t.circle(-260,50) #画一个圆弧
t.end_fill() #结束填充

t.seth(-65) #改变海龟的行进方向
t.circle(279,45) #画一个圆弧
t.fd(38)#向前行进
t.seth(130) #改变海龟的行进方向
t.fd(210)#向前行进
t.seth(-26) #改变海龟的行进方向
t.fd(79)#向前行进
t.seth(101) #改变海龟的行进方向
t.fd(107)#向前行进
t.seth(-26) #改变海龟的行进方向
t.fd(123)#向前行进

t.up()#将提起笔
t.seth(0) #改变海龟的行进方向
t.fd(10)#向前行进
t.pd() #画笔落下
t.seth(-65) #改变海龟的行进方向
t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(170,48) #画一个圆弧
t.seth(150) #改变海龟的行进方向
t.circle(-150,35) #画一个圆弧
t.end_fill()

t.seth(130) #改变海龟的行进方向
t.fd(25)#向前行进
t.fd(-25)#向前行进
t.seth(-50) #改变海龟的行进方向
t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(178,49) #画一个圆弧
t.fd(40)#向前行进
t.seth(170) #改变海龟的行进方向
t.circle(-160,50) #画一个圆弧
t.end_fill()

t.seth(-40) #改变海龟的行进方向
t.circle(180,25) #画一个圆弧
t.seth(140) #改变海龟的行进方向
t.up()#将提起笔
t.circle(180,25) #画一个圆弧
t.pd() #画笔落下
t.seth(140) #改变海龟的行进方向
t.circle(-180,15) #画一个圆弧
t.seth(-5) #改变海龟的行进方向
t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.circle(-230,60) #画一个圆弧
t.seth(100) #改变海龟的行进方向
t.circle(240,28) #画一个圆弧
t.end_fill()

t.seth(-50) #改变海龟的行进方向
t.circle(160,50) #画一个圆弧
t.seth(167) #改变海龟的行进方向
t.circle(-188,50) #画一个圆弧
t.seth(-17) #改变海龟的行进方向
t.circle(-170,60) #画一个圆弧
t.seth(97) #改变海龟的行进方向
t.circle(500,10) #画一个圆弧
t.seth(-52) #改变海龟的行进方向
t.circle(-520,12) #画一个圆弧
#多余
t.up()#将提起笔
t.seth(75) #改变海龟的行进方向
t.fd(180)#向前行进
t.pd() #画笔落下
t.fd(-45)#向前行进
t.seth(150) #改变海龟的行进方向
t.fd(80)#向前行进
t.seth(-85) #改变海龟的行进方向
t.fd(30)#向前行进
t.seth(170) #改变海龟的行进方向
t.fd(180)#向前行进
t.seth(-17) #改变海龟的行进方向
t.fd(220)#向前行进
t.seth(95) #改变海龟的行进方向
t.fd(30)#向前行进
t.seth(-30) #改变海龟的行进方向
t.fd(85)#向前行进
t.seth(86) #改变海龟的行进方向
t.fd(80)#向前行进
#下身
t.up() #将提起笔
t.goto(-118,-158) #向前行进
t.seth(-116) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(100,30) #画一个圆弧
t.fd(190)#向前行进

t.up() #将提起笔
t.goto(-130,-150) #向前行进
t.pd() #画笔落下
t.seth(-120) #改变海龟的行进方向
t.fd(210)#向前行进
t.seth(-26) #改变海龟的行进方向
t.circle(-140,23) #画一个圆弧
t.seth(-170) #改变海龟的行进方向
t.fd(20)#向前行进
t.left(90) #改变海龟的行进方向
t.fd(30)#向前行进
t.fd(-30)#向前行进
t.left(90) #改变海龟的行进方向
t.fd(60)#向前行进
t.seth(60) #改变海龟的行进方向
t.fd(50)#向前行进
t.seth(-3) #改变海龟的行进方向
t.fd(60) #向前行进
t.seth(42) #改变海龟的行进方向
t.fd(51)#向前行进
t.fd(-51)#向前行进
#左蝴蝶结
t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.seth(-3) #改变海龟的行进方向
t.fd(-60)#向前行进
t.seth(67) #改变海龟的行进方向
t.fd(60)#向前行进
t.end_fill()
t.seth(127) #改变海龟的行进方向
t.fd(-10)#向前行进
t.fillcolor("white") #填充颜色为
t.begin_fill() #开始填充颜色
t.fd(68)#向前行进
t.seth(4) #改变海龟的行进方向
t.fd(70)#向前行进
t.end_fill()

t.seth(-40) #改变海龟的行进方向
t.fd(55)#向前行进
t.seth(60) #改变海龟的行进方向
t.fd(30)#向前行进
t.seth(-3) #改变海龟的行进方向
t.fd(30)#向前行进
t.fd(-30)#向前行进
t.seth(60) #改变海龟的行进方向
t.fd(-30)#向前行进
t.seth(-120) #改变海龟的行进方向
t.circle(50,80) #画一个圆弧
t.seth(-3) #改变海龟的行进方向
t.fd(30)#向前行进
t.fd(-30)#向前行进
t.seth(-90) #改变海龟的行进方向
t.fd(90)#向前行进
t.fd(-25)#向前行进
t.seth(135) #改变海龟的行进方向
t.fd(42)#向前行进
#左肩
t.up()#将提起笔
t.goto(-130,-150)
t.pd() #画笔落下
t.seth(-120) #改变海龟的行进方向
t.fd(60)#向前行进
t.seth(190) #改变海龟的行进方向
t.fd(200)#向前行进
t.seth(-120) #改变海龟的行进方向
t.fd(140)#向前行进
t.seth(-75) #改变海龟的行进方向
t.fd(35)#向前行进
#右边
t.up()#将提起笔
t.seth(0) #改变海龟的行进方向
t.fd(100)#向前行进
t.seth(120) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(-125,57) #画一个圆弧
t.up()#将提起笔
t.goto(118,-158)
t.seth(-64) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(-100,30) #画一个圆弧
t.fd(190)

t.up()#将提起笔
t.goto(130,-150) #向前行进
t.pd() #画笔落下
t.seth(-60) #改变海龟的行进方向
t.fd(210)#向前行进
t.seth(206) #改变海龟的行进方向
t.circle(140,23) #画一个圆弧
t.seth(-10) #改变海龟的行进方向
t.fd(20)#向前行进
t.right(90) #改变海龟的行进方向
t.fd(30)#向前行进
t.fd(-30)#向前行进
t.right(90) #改变海龟的行进方向
t.fd(60)#向前行进
t.seth(120) #改变海龟的行进方向
t.fd(50)#向前行进
t.seth(183) #改变海龟的行进方向
t.fd(60)#向前行进
t.seth(138) #改变海龟的行进方向
t.fd(51)#向前行进
t.fd(-51)#向前行进
#右蝴蝶结
t.fillcolor("white") #填充颜色为
t.begin_fill()
t.seth(183) #改变海龟的行进方向
t.fd(-60)#向前行进
t.seth(113) #改变海龟的行进方向
t.fd(60)#向前行进
t.end_fill()
t.seth(53) #改变海龟的行进方向
t.fd(-10) #向前行进
t.fillcolor("white") #填充颜色为
t.begin_fill()
t.fd(68)#向前行进
t.seth(176) #改变海龟的行进方向
t.fd(70) #向前行进
t.end_fill()
#右蝴蝶结
t.seth(220) #改变海龟的行进方向
t.fd(55) #向前行进
t.seth(120) #改变海龟的行进方向
t.fd(30) #向前行进
t.seth(120) #改变海龟的行进方向
t.fd(-30) #向前行进
t.seth(-60) #改变海龟的行进方向
t.circle(-50,80) #画一个圆弧
t.seth(183) #改变海龟的行进方向
t.fd(30) #向前行进
t.fd(-30) #向前行进
t.seth(-90) #改变海龟的行进方向
t.fd(90) #向前行进
t.fd(-35) #向前行进
t.seth(45) #改变海龟的行进方向
t.fd(42) #向前行进

t.up()#将提起笔
t.goto(130,-150) #向前行进
t.pd() #画笔落下
t.seth(-60) #改变海龟的行进方向
t.fd(60) #向前行进
t.seth(-10) #改变海龟的行进方向
t.fd(200) #向前行进
t.seth(-60) #改变海龟的行进方向
t.fd(140)#向前行进
t.seth(255) #改变海龟的行进方向
t.fd(35) #向前行进

t.up()#将提起笔
t.seth(180) #改变海龟的行进方向
t.fd(100) #向前行进
t.seth(60) #改变海龟的行进方向
t.pd() #画笔落下
t.circle(125,57) #画一个圆弧
t.up()#将提起笔
t.goto(0,-205) #向前行进
t.pd() #画笔落下
t.seth(182) #改变海龟的行进方向
t.circle(-142,50) #画一个圆弧
t.up()#将提起笔
t.goto(0,-205) #向前行进
t.pd() #画笔落下
t.seth(-2) #改变海龟的行进方向
t.circle(142,50) #画一个圆弧
t.up() #将提起笔
t.seth(0) #改变海龟的行进方向
t.fd(250) #向前行进
t.pd() #画笔落下

t.color("red") #设置字颜色
t.write("\n   真像只有一个。\n   \n",font=("楷体",23,"normal")) #输出一段楷体字
t.color("brown")  #设置颜色
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值