Is it true that a subset $U \subset \mathbb{R}$ is uncountable if and only if it contains an interval? I feel like this should be so but there could be some wonky counterexample.. Thanks!
edit: The motivation for my question comes form "An introduction to Mathematical Statistics and its Applications by Larsen and Marx".
Definition 3.2.1: A real valued function whose domain is the sample space $S$ is called a random varaible.
The author continues:
"If the range of the mapping is either a finite or countably infinite number of values, the random variable is said to be discrete; if the range includes an interval of real numbers, bounded or unbounded, the random variable is said to be continuous"