They have a different number of neutrons.
Explanation: All isotopes of Potassium have the same number of protons, and potassium 39, 41, and 40 have atomic mass of 39 amu, 41 amu, and 40 amu respectively. Atomic mass is made of protons and neutrons so each isotope has a different number of neutrons.