画蟒蛇

import turtle as t
t.setup(700,600)
t.penup()
t.fd(-250)
t.pendown()
t.pencolor("purple")

t.pensize(34)
t.seth(-40)
for i in range(4):
t.circle(40,80)
t.circle(-40,80)
t.circle(40,80/2)
t.fd(40)
t.circle(16,180)
t.fd(40*2/3)
t.done()

 

 

 

 

 

 

posted @ 2020-09-24 16:29  nanfengnan  阅读(185)  评论(0编辑  收藏  举报