<doocs>1984.Minimum Difference Between Highest and Lowest of K Scores_1.py
def minimumDifference( nums: List[int], k: int) -> int:
    nums.sort()
    return min(nums[i + k - 1] - nums[i] for i in range(len(nums) - k + 1))
def sample_funcname ( var_0 : List [ int ] , var_3 : int ) -> int :
    var_0.sort ( )
    return min ( var_0 [ var_6 + var_3 - 1 ] - var_0 [ var_6 ] for var_6 in range ( len ( var_0 ) - var_3 + 1 ) )
