Let $f$ be a continuous function with domain $[0,1]$ and range $[0,1]$. Prove that $f$ must have a fixed point: that is, there exists some $a \in [0,1]$ such that $f(a) = a$. Is the result still true if the domain and range are $(0,1)$? Why or why not?