欧亿体育
工作动态
我的位置: 首页 > 工作动态
Python南瓜头
发布时间:2024-01-23 06:03
  |  
阅读量:
  |  
作者:
欧亿体育

系列文章 

​​​​​​​

序号 文章目录 直达链接
1 浪漫520表白代码 https://want595.blog.csdn.net/article/details/130666881
2 满屏表白代码 https://want595.blog.csdn.net/article/details/129794518
3 跳动的爱心 https://want595.blog.csdn.net/article/details/129503123
4 漂浮爱心 https://want595.blog.csdn.net/article/details/128808630
5 爱心光波 https://want595.blog.csdn.net/article/details/132311588
6 流星雨 https://want595.blog.csdn.net/article/details/129395465
7 满天星 https://want595.blog.csdn.net/article/details/129572082
8 烟花秀 https://want595.blog.csdn.net/article/details/128746664
9 圣诞树 https://want595.blog.csdn.net/article/details/128213770
10 雪花代码 https://want595.blog.csdn.net/article/details/129038108
11 模拟星空 https://want595.blog.csdn.net/article/details/129948882
12 生日蛋糕 https://want595.blog.csdn.net/article/details/129694998
13 樱花树 https://want595.blog.csdn.net/article/details/130350743
14 五彩气球 https://want595.blog.csdn.net/article/details/130950744
15 七彩花朵 https://want595.blog.csdn.net/article/details/130897838
16 恶搞代码 https://want595.blog.csdn.net/article/details/131274862
17 代码雨 https://want595.blog.csdn.net/article/details/132574687
18 中秋星空 https://want595.blog.csdn.net/article/details/132910075
19 国庆祝福 https://want595.blog.csdn.net/article/details/133427031
20 皮卡丘 https://want595.blog.csdn.net/article/details/133783136
21 玫瑰花 https://want595.blog.csdn.net/article/details/133851128
22 名侦探柯南 https://want595.blog.csdn.net/article/details/133903847
23 蝙蝠代码 https://want595.blog.csdn.net/article/details/133935474

前言

《万圣节特辑之恶魔南瓜头》来袭!本期我们用python实现了一个南瓜头,让我们直奔主题吧!

南瓜头

程序设计

import turtle

def init():
    turtle.setup(1.0,1.0)
    turtle.title("南瓜头")
    turtle.hideturtle()
    turtle.bgcolor('orange')
turtle.tracer(0)
init()
outline()
tail()
eyes_items = [(-60, 230, 0), (60, -50, 1)]
eyes(eyes_items)
nose()
mouth()
turtle.done()
……(完整代码文末公众号免费领取哦)