So I was wondering that atomic spectrum for each element is different.This implies that wavelength of electron which is given by $\lambda= \frac{nh}{2\pi}$ (according to Bohr's theory).
Also $n$ represents the number of orbit which happens to be equal to number of wavelengths of a stationary wave, since you cannot have anything between two integral numbers for $n$.
How does it work for other atoms if it does not then what else does?