Solution (source code)

= Solution

Treat the fair coin tosses as independent. Multiplying the ten head <probabilities> gives
$$
\boxed{P(10\text{ heads})=\left(\frac12\right)^{10}}.
$$