Let $X$ be a subset of $\mathbb{R}^n$ such that every continuous function $f: X \to \mathbb{R}$ is bounded. Show that X is sequentially compact
I'm currently self teaching metric spaces, and am not sure what to do. I'm thinking whether to maybe apply the Heine-Borel theorem? The definition of sequentially compact is that every sequence has a convergent subsequence.