<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def preprocessing(self, algorithms):
 """Apply preprocessing algorithms. Parameters algorithms : a list objects Preprocessing allgorithms which get applied in order. Examples -------- """

        assert type(algorithms) is list
        for algorithm in algorithms:
            algorithm(self)