in the last we were briefly introduced to design patternsand covered the iterator patterna pattern so useful and common that it has been abstracted into the core of the programming language itself in this we'll be reviewing other common patternsand how they are implemented in python as with iterationpython often provides an alternative syntax to make working with such problems simpler we will cover both the "traditionaldesignand the python version for these patterns in summarywe'll seenumerous specific patterns canonical implementation of each pattern in python python syntax to replace certain patterns the decorator pattern the decorator pattern allows us to "wrapan object that provides core functionality with other objects that alter this functionality any object that uses the decorated object will interact with it in exactly the same way as if it were undecorated (that isthe interface of the decorated object is identical to that of the core objectthere are two primary uses of the decorator patternenhancing the response of component as it sends data to second component supporting multiple optional behaviors