how can atoms of the same element be different?
Atoms of the same element always have the same number of protons ( is it had a different number of protons it would be a different element). However atoms of the same element can have different numbers of neutrons (this gives them a different mass number). Different versions of the same element are called isotopes.