2018年8月5日

Python 面向对象编程

摘要: 1 # -*- coding: utf-8 -*- 2 # 创建学生类 3 class Student(object): 4 5 def __init__(self, name, score): 6 self.__name = name 7 self.__score = score 8 def print_scor... 阅读全文

posted @ 2018-08-05 16:48 mofei004 阅读(194) 评论(0) 推荐(0) 编辑

导航