06 2021 档案

摘要:3 实验任务3:使用turtle库用矩形绘制花瓣 task3.py from turtle import*def square(size=50, rgb='orange'): pencolor(rgb) for i in range(4): fd(size) left(90)def main(): 阅读全文
posted @ 2021-06-17 20:02 sdyy 阅读(178) 评论(1) 推荐(0)
摘要:实验任务5:自定义模块及模块导入编程 一:把类StudentDoc保存到模块student.py中 '''student.py''' class StudentDoc: '''学生档案管理''' def __init__(self,students_number,studens_name,major 阅读全文
posted @ 2021-06-01 12:43 sdyy 阅读(78) 评论(3) 推荐(0)