In contrast to xrange(), the range() method returns a list or sequence of numbers and requires more memory. When compared to a list or tuple, the range() method consumes less memory regardless of the range it covers because it simply keeps the start, stop, and step values.