Answer: A
The reference is piperidine (pKa of conjugate acid about 11). Pyrrole is protonated only at carbon with loss of aromaticity (pKa of conjugate acid about -4), so it is by far the weakest base. Pyridine is about 5, aniline about 4.6 and 4-nitroaniline about 1. Pyrrole is therefore the weakest.