Python, simple range iteration
\nclass Solution:\n    def mostVisited(self, n: int, rounds: List[int]) -> List[int]:\n        if rounds[0] <= rounds[-1]:\n            return range(rounds[0], 
```\nclass Solution:\n    def mostVisited(self, n: int, rounds: List[int]) -> List[int]:\n        if rounds[0] <= rounds[-1]:\n            return range(rounds[0], rounds[-1] + 1)\n        else:\n            exclude = range(rounds[-1] + 1, rounds[0])\n            return [i for i in range(1, n+1) if i not in exclude]\n```
['Python', 'Python3']