猫史档案馆


一个初级高手

一个初级高手

Lv.1

我在 Python、C、C++间徘徊

获赞:11收藏:0浏览:41作品收藏:0
回复帖子评论
上一页1 页 / 共 1下一页

【Python作品分享】文字游戏v1.2【作品秀】 中回复

有bug,画 |  的地方少了一个逗号center_image

2022-08-19T19:39:59 点赞:0

闲得无聊,用python画个太极 中回复

把代码补上!

from turtle import *
import time
pensize(2)
speed(5)    # 设置画笔速度
ht()

pencolor("black")
fillcolor("black")
begin_fill()
circle(100,180)
circle(50,180)
circle(-50,180)
end_fill()

circle(-100,180)

up()
goto(0,130)
fillcolor("white")
begin_fill()
circle(20)
end_fill()

up()
goto(0,30)
fillcolor("black")
begin_fill()
circle(20)
end_fill()

time.sleep(5)

图片:center_image

2022-08-20T09:23:49 点赞:0

闲得无聊,用python画个太极 中回复

作品页面:https://shequ.cod喵/work/158560833

2022-08-20T09:24:17 点赞:0