Bạn đang xem thử công khai
Đăng nhập để lưu tiến độ, làm bài tập, thảo luận và nhận phản hồi.
After this unit you will: be able to write a simple class and create multiple objects from it.
__init__ is the constructor; self is the object that is calling the method.self.name) belongs to each individual object; a class attribute (Student.university) is shared by all objects.anna.status() as Student.status(anna).