
    Write a function that determines the number of possible checkpoint intervals for monitoring student progress in a semester with n total assignments, where a checkpoint interval is valid if it evenly divides the total number of assignments. For example, in a semester with 12 assignments, valid checkpoint intervals could be after every 1, 2, 3, 4, 6, or 12 assignments.
    

    
def divisor(n):
    """
    Write a function that determines the number of possible checkpoint intervals for monitoring student progress in a semester with n total assignments, where a checkpoint interval is valid if it evenly divides the total number of assignments. For example, in a semester with 12 assignments, valid checkpoint intervals could be after every 1, 2, 3, 4, 6, or 12 assignments.
    

    """
def divisor(n):
    """
    Write a function that determines the number of possible checkpoint intervals for monitoring student progress in a semester with n total assignments, where a checkpoint interval is valid if it evenly divides the total number of assignments. For example, in a semester with 12 assignments, valid checkpoint intervals could be after every 1, 2, 3, 4, 6, or 12 assignments.
    

    """
    for i in range(n):
        x = len([i for i in range(1, n + 1) if not n % i])
    return x