오늘은 파이썬에서 클래스의 특징인 상속에 대해서 알아보는 시간을 갖도록 하겠다. 예제1. - 부모클래스(슈퍼클래스)를 상속받으면 슈퍼클래스 및 서브클래스의 모든 속성, 메소드 사용 가능 class Car: """Parent Class""" def __init__(self, tp, color): self.type = tp self.color = color def show(self): return 'Car Class "Shor Method!"' # 상속받을 슈퍼클래스를 인자로 넣어주면 상속 class BmwCar(Car): """Sub Class""" def __init__(self, car_name, tp, color): # 슈퍼클래스를 초기화 해줘야 한다. super().__init__(tp, color..