I was trying to solve the following problem:
Let $X$ a CW- complex such that the inclusion $X_{n-1} \hookrightarrow X_n $ are null-homotopic, then $X$ is contractible.
I already know that Whitehead theorem solve it, but I was searching a proof that does not use the theorem.