Created
May 16, 2021 15:37
-
-
Save Abhayparashar31/3efd70232ed3686ff58016d52e7a1629 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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