import abc
class ImplementacionInterface(abc.ABC):
@abc.abstractmethod
def imp1(self):
pass
@abc.abstractmethod
def imp2(self):
pass
class Main(ImplementacionInterface):
def main(self):
print('probando')
self.imp1()
self.imp2()
def imp1(self):
print("Implementacion 1")
def imp2(self):
print("Implementacion 1")
main = Main()
main.main()
To embed this project on your website, copy the following code and paste it into your website's HTML: