Question: Please use python to code and please provide comments throughout the code thank you in advance! You have been asked to use an abstract factory

Please use python to code and please provide comments throughout the code
thank you in advance!
You have been asked to use an abstract factory to create a series of shapes in different colors. The shapes are as follows: Circle, Triangle, Rectangle, Pentagon, Hexagon. The color of each shape can be red, green, or blue at this point in the project. Marketing foresees the need to add additional colors, maybe allowing the client to pick their own color to match their corporate identity using RGB or HEX. Considering the issue of the explosion of number of classes, use the prototype pattern to improve on the abstract factory pattern by reducing the number of concrete products
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
