comefrom: <doocs>1560.Most Visited Sector in  a Circular Track_1.py
code: def mostVisited( n: int, rounds: List[int]) -> List[int]:
      if rounds[0] <= rounds[-1]:
          return list(range(rounds[0], rounds[-1] + 1))
      return list(range(1, rounds[-1] + 1)) + list(range(rounds[0], n + 1))
masked: def sample_funcname ( var_0 : int , var_2 : List [ int ] ) -> List [ int ] :
      if var_2 [ 0 ] <= var_2 [ - 1 ] :
          return list ( range ( var_2 [ 0 ] , var_2 [ - 1 ] + 1 ) )
      return list ( range ( 1 , var_2 [ - 1 ] + 1 ) ) + list ( range ( var_2 [ 0 ] , var_0 + 1 ) )
  