
    Write a function to determine if a student has not yet mastered any skills within a specified segment of their learning path, where each skill's mastery status is represented as a binary value in their learning profile. The function should check a given range of sequential skills in the student's profile and confirm if all skills in that range are marked as non-mastered (unset bits).
    

    
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Write a function to determine if a student has not yet mastered any skills within a specified segment of their learning path, where each skill's mastery status is represented as a binary value in their learning profile. The function should check a given range of sequential skills in the student's profile and confirm if all skills in that range are marked as non-mastered (unset bits).
    

    """
def all_Bits_Set_In_The_Given_Range(n, l, r):
    """
    Write a function to determine if a student has not yet mastered any skills within a specified segment of their learning path, where each skill's mastery status is represented as a binary value in their learning profile. The function should check a given range of sequential skills in the student's profile and confirm if all skills in that range are marked as non-mastered (unset bits).
    

    """
    num = (1 << r) - 1 ^ (1 << l - 1) - 1
    new_num = n & num
    if new_num == 0:
        return True
    return False