In the book of Vakil, the Foundation Of Algebraic Geometry, there is an exercise (19.4.A) that I can't do and I'd like to have some help.
The exercise is the following : We take a projective $k$-scheme $X$ and an exact sequence of coherent sheaves $\require{AMScd} \begin{CD} 0 @>>> \mathscr{F}_1 @>>> \cdots @>>> \mathscr{F}_n @>>> 0 \end{CD}$ We have to show that the alternated sum of the Euler characteristics of the sheaves is 0.
It is easy to do it when $n=3$ but when the exact sequence is long, it is more difficult. Vakil says to consider first the case $X=\operatorname{Spec}(k)$ but I don't manage to do it.
