class Vehicle:
    def drive(self):
        print("자동차가 달립니다.")

class ElectricCar(Vehicle):
    def drive(self):
        print("전기로 조용히 달립니다")

mycar = ElectricCar()
mycar.drive()


        
            

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: