猫史档案馆


【Python作品分享】ceodmao.py【作业帖】

用户:保守的皮皮蟹9MZD保守的皮皮蟹9MZD查看:0 回复:0 评论:0 创建时间:2020-01-15T18:34:22


【作品展示】

center_image

 

【作品介绍】

dxdfdvrf

 

【作品源代码】

import turtle as t
import bcmpic as b 

b.codemao_head()
b.codemao_comb()
b.codemao_ears()
b.codemao_mask()
b.codemao_logo()
b.codemao_nose()

t.penup()
t.goto(45, -12)
t.pendown()
t.fillcolor('white')
t.begin_fill()
t.circle(26)
t.end_fill()
t.penup()
t.goto(45, -4)
t.pendown()
t.fillcolor('black')
t.begin_fill()
t.circle(18)
t.end_fill()
t.penup()
t.goto(37, 15)
t.fillcolor('white')
t.begin_fill()
t.circle(6)
t.end_fill()

t.penup()
t.goto(-45, -12)
t.pendown()
t.fillcolor('white')
t.begin_fill()
t.circle(26)
t.end_fill()
t.penup()
t.goto(-45, -4)
t.pendown()
t.fillcolor('black')
t.begin_fill()
t.circle(18)
t.end_fill()
t.penup()
t.goto(-54, 15)
t.fillcolor('white')
t.begin_fill()
t.circle(6)
t.end_fill()

t.penup()
t.goto(-20,-60)
t.pendown()
t.fillcolor('red')
t.begin_fill()
t.right(90)
t.circle(20,180)
t.end_fill()
t.left(90)
t.forward(40)
t.hideturtle()



t.done()

 

【提示】

部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:

https://python.codemao.cn


回复

上一页1 页 / 共 0下一页