comefrom: <doocs>2229.Check if an Array Is Consecutive_1.py
code: def isConsecutive( nums: List[int]) -> bool:
      mi, mx = min(nums), max(nums)
      n = len(nums)
      return len(set(nums)) == n and mx == mi + n - 1
masked: def sample_funcname ( var_0 : List [ int ] ) -> bool :
      var_5 , var_7 = min ( var_0 ) , max ( var_0 )
      var_9 = len ( var_0 )
      return len ( set ( var_0 ) ) == var_9 and var_7 == var_5 + var_9 - 1
  