Why do two isotoprs of an element have the same atomic number but different mass numbers?

1 answer

The answer is here.
mass number of an element = number of protons + number of neutrons. (The atomic number is the number of protons in an element).