Skip to content

Instantly share code, notes, and snippets.

@Abhayparashar31
Created May 16, 2021 15:37
Show Gist options
  • Save Abhayparashar31/3efd70232ed3686ff58016d52e7a1629 to your computer and use it in GitHub Desktop.
Save Abhayparashar31/3efd70232ed3686ff58016d52e7a1629 to your computer and use it in GitHub Desktop.
from abs import ABC, abstractmethod
class Parent(ABC):
@abstracmethod
def show(self):
pass
class child(Parent):
def show(self):
print("Child Class")
obj = child()
obj.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment