The P-Bass is named P because it was Leo's 16th design attempt. The 15 designs (A-Bass through O-Bass) that came before the P didn't make it for various reasons. It was only later that Leo realized that the 10th design, the J-Bass, could become a bestseller too. Later those basses were called Precision and Jazz.
