Let $A$ be a non-empty set and $n$ be the number of elements in $A$, i.e. $n:=|A|$.
I know that the number of elements of the power set of $A$ is $2^n$, i.e. $|\mathcal{P}(A)|=2^n$.
I came across the fact that exactly half of the elements of $\mathcal{P}(A)$ contain an odd number of elements, and half of them an even number of elements.
Can someone prove this? Or hint at a proof?

