Skip to content

Instantly share code, notes, and snippets.

View mikaeilorfanian's full-sized avatar

Mikaeil Orfanian mikaeilorfanian

  • Warsaw, Poland
View GitHub Profile
class Vehicle:
def drive(self, destination: str) -> None:
pass
def start(self) -> bool:
pass
class Vehicle:
def drive(self, destination: str) -> None:
pass
def start(self) -> bool:
pass
class Car: # Car is of type Vehicle because it has the same methods and signatures that Vehicle has
class Vehicle:
def drive(self, destination: str) -> None:
pass
def start(self) -> bool:
pass
class Car:
class Car:
def drive(self, destination: str) -> None:
pass
def start(self) -> bool:
pass