¶ 见Python源代码/注释
Code:
1 | class Employee: |
Run:
1 | Name : Zara , Salary: 2000 |
下面我们深入研究一下类的属性/方法:
Code:
1 | class JustCounter: |
Run:
1 | 1 |
Code:
1 | class Employee: |
Run:
1 | Name : Zara , Salary: 2000 |
下面我们深入研究一下类的属性/方法:
Code:
1 | class JustCounter: |
Run:
1 | 1 |