Your browser does not support the Canvas element.
摘要: 1、类的相关知识 类:是指具有相同属性和技能的一类事物。 比如:人类 ,植物类,动物类,狗类。 对象:是类中的某一个实例,是类的具体表现。 比如:具体到某个人,某一个植物,某一条狗。 class 是python 中类的关键字。 基本格式: class 类名(): 类体 类名的首字母要大写。 类名+( 阅读全文
posted @ 2018-07-23 19:31 一根小菜 阅读(107) 评论(0) 推荐(0)
Your browser does not support the Canvas element.