teddy-深海巨兽(未完待续)

import turtle
turtle.speed(0)
turtle.bgcolor("skyblue")
turtle.penup()
turtle.goto(-360,-360)
turtle.pendown()
turtle.color('blue')
turtle.fillcolor('blue')
k=360
l=720
turtle.begin_fill()
turtle.fd(l)
turtle.lt(90)
turtle.fd(k)
turtle.lt(90)
turtle.fd(l)
turtle.lt(90)
turtle.fd(k)
turtle.lt(90)
turtle.end_fill()
turtle.begin_fill()
turtle.color('black')
turtle.fillcolor('yellow')
turtle.penup()
turtle.goto(0,150)
turtle.pendown()
turtle.circle(80,200)
turtle.speed(1)
turtle.shape('turtle')
turtle.left(160)
turtle.circle(-80,160)
turtle.end_fill()
turtle.done()
©️2020 CSDN 皮肤主题: 深蓝海洋 设计师:CSDN官方博客 返回首页