Implementation of the Strategy_Exercise() function as used in the Strategy Pattern. More...
Go to the source code of this file.
Namespaces | |
namespace | DesignPatternExamples_python |
The DesignPatternExamples_python package, containing 20 examples of design patterns, each in their own namespace. | |
namespace | DesignPatternExamples_python.strategy |
namespace | DesignPatternExamples_python.strategy.strategy_exercise |
Functions | |
def | Strategy_Exercise () |
Example of using the Strategy Pattern. | |
Variables | |
list | entries |
List of individuals to play around with in the Strategy exercise. | |
Implementation of the Strategy_Exercise() function as used in the Strategy Pattern.
Definition in file strategy_exercise.py.