Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class AbstractFactory(ABC):
- def get_shape():
- pass
- class RectanleFactory():
- def get_shape():
- return Rectangle()
- class RectanleFactory():
- def get_shape():
- return Rectangle()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement