An electron can only be in orbit 1, 2, 3...There is an infinite number of such orbits. It cannot be located anywhere between the orbits. As the orbit number increases, the energy of the electron decreases.

Can an electron have an energy of 9 units?