n this chapter we motivate the study of disordered media through the example of a porous system. The basic terms in percolation theory are introduced, and you learn how to generate, visualize and measure on percolation systems in Python. We demonstrate how to find exact results for small systems in two dimensions by addressing all configuration…