P-type semiconductors are made by doping the pure semiconductor material. The amount of impurity added is very small compared to the amount of semiconductor. The exact character of the semiconductor can be changed by varying the amount of 'dopant' that is added. In p-type semiconductors the number of holes is much higher than that of thermally generated electrons.