One of the main ideas of the Quantum Theory is that:

the energy of an electron can never be changed

the energy of an electron can be varied by any amount

the energy of an electron can be changed only by set amounts

the energy of an electron can always be predicted with 100% accuracy