
    In a credit score assessment system, develop a function that determines the next achievable credit score by rearranging the digits of a customer's current score. The new score must be the smallest possible number greater than the current score using the same digits, helping loan officers evaluate potential credit improvement scenarios.
    

    
def rearrange_bigger(n):
    """
    In a credit score assessment system, develop a function that determines the next achievable credit score by rearranging the digits of a customer's current score. The new score must be the smallest possible number greater than the current score using the same digits, helping loan officers evaluate potential credit improvement scenarios.
    

    """
def rearrange_bigger(n):
    """
    In a credit score assessment system, develop a function that determines the next achievable credit score by rearranging the digits of a customer's current score. The new score must be the smallest possible number greater than the current score using the same digits, helping loan officers evaluate potential credit improvement scenarios.
    

    """
    nums = list(str(n))
    for i in range(len(nums) - 2, -1, -1):
        if nums[i] < nums[i + 1]:
            z = nums[i:]
            y = min(filter(lambda x: x > z[0], z))
            z.remove(y)
            z.sort()
            nums[i:] = [y] + z
            return int(''.join(nums))
    return False