sunchenxi

导航

实验8 python库应用编程与体验

恢复内容开始 #task3.py from turtle import * def square(size=50, rgb='orange'): '''绘制正方形 参数size指定边长 参数rgb指定画笔颜色 如果没有给参数,采用默认值 ''' pencolor(rgb) for i in rang

posted on 2022-06-13 20:46  靠谱一星  阅读(23)  评论(1编辑  收藏  举报