摘要: def __init__(self) 为构造函数,给实例化的类传参数,self为实例化的对象赋予的变量,相当于例子中的p1 运行结果 阅读全文
posted @ 2017-11-01 23:09 Sch01aR# 阅读(2678) 评论(0) 推荐(0)