目录
1 送她的多啦A梦
2 白驹过隙
3 Python代码实现
1 送她的多啦A梦
一个哆啦A梦让她开心开心好久好久。我也很开心,昨天送了一个实体模型,今天用Python代码再弄一个送给她。
哆啦A梦(日语:ドラえもん,英语:Doraemon),旧译为机器猫,日本漫画《多啦A梦》及其衍生作品中的猫型机器人,本作的主人公。名字的意思是铜锣(ドラ)卫门(えもん)。
哆啦A梦肚子上拥有四次元口袋,这个口袋直接通往四次元空间,再多的东西也放得下。害怕老鼠。平时的职责是照顾野比大雄。
2 白驹过隙
虽说雁过无痕,岁月无声,而白驹过隙的光阴却在生命的每个角落不着痕迹的流,总是荡漾在我渺远的心迹,很怀念。让它停留在记忆的沙滩上,混入蚌中,化作一颗最美的珍珠.....
她的光环
天空很蔚蓝也是你的主色
我送你的红礼巾系着金色铃铛
最后的拥抱你像棉花糖一样样的柔软哆啦A梦
请把我最珍贵的东西
都装进你的百宝袋
3 Python代码实现
import turtle as t
# t.speed(3)
t.title('我的小公主,哆啦A梦')
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 |