2022年6月12日

8

摘要: from turtle import * def square(size=50, rgb='orange'): '''绘制正方形 参数size指定边长 参数rgb指定画笔颜色 如果没有给参数,采用默认值''' pencolor(rgb) for i in range(4): fd(size) lef 阅读全文

posted @ 2022-06-12 17:30 忆路凉心 阅读(39) 评论(1) 推荐(0) 编辑

导航