代码献上:
import turtle as t
# t.speed(5)
t.pensize(8)
t.hideturtle()
t.screensize(500, 500, bg='white')
# 猫脸
t.fillcolor('#00A1E8')
t.begin_fill()
t.circle(120)
t.end_fill()
t.pensize(3)
t.fillcolor('white')
t.begin_fill()
t.circle(100)
t.end_fill()
t.pu()
t.home()
t.goto(0, 134)
t.pd()
t.pensize(4)
t.fillcolor("#EA0014")
t.begin_fill()
t.circle(18)
t.end_fill()
t.pu()
t.goto(7, 155)
t.pensize(2)
t.color('white', 'white')
t.pd()
t.begin_fill()
t.circle(4)
t.end_fill()
t.pu()
t.goto(-30, 160)
t.pensize(4)
t.pd()
t.color('black', 'white')
t.begin_fill()
a = 0.4
for i in range(120):
if 0
关注
打赏
热门博文
- C语言:求 1! + 2! + 3! + ... + n!(for循环)
- Java:期末编程试题1(及答案)编写一个Car类,具有:属性:品牌(mark)——String类型 功能:驾驶(void drive( ))........
- C语言:for循环(for循环,while 循环:计算1加到100的值)
- 程序人生:初学者中最最最常问的问题都有哪些呢???
- Java:Eclipse下载安装教程,以及Eclipse 安装汉化包的方法
- Java:获取字符串长度(length())
- 计算机网络:第五章运输层课后习题及答案(精细版)
- 计算机网络:第四章网络层课后习题及答案(精细版)
- C语言:while与do while循环语句
- 通俗的理解:什么是编程语言?