In pyrrole
the electron density is maximum on
2 and 5
The conjugation (delocalisation) of electrons in pyrrole can be visualised as
As resonating structures III and IV are more stable than II and V. Thus, maximum electron density will be found on carbon 2 and 5.