it is known that for smooth surfaces D with boundary $\partial D$, the Euler characteristic can be computed as $\chi(D)=2-b$, where $b$ denotes the number of boundary components. I would like to know how to prove this beautiful formula. Does someone know a readable source where I can find it?
Best wishes