[Python3] 2-line
\n\nclass Solution:\n    def mostVisited(self, n: int, rounds: List[int]) -> List[int]:\n        x, xx = rounds[0], rounds[-1]\n        return list(range(x, xx+
\n```\nclass Solution:\n    def mostVisited(self, n: int, rounds: List[int]) -> List[int]:\n        x, xx = rounds[0], rounds[-1]\n        return list(range(x, xx+1)) if x <= xx else list(range(1, xx+1)) + list(range(x, n+1))\n```
['Python3']