
    Given a student's learning sequence represented as a binary string where 1s indicate successful module completions and 0s indicate unsuccessful attempts, determine how many unique learning patterns emerge as odd-valued numbers when rotating the sequence n times. Each rotation of the sequence represents a different perspective of the student's learning journey, and understanding these patterns helps in customizing their educational path.
    

    
def odd_Equivalent(s, n):
    """
    Given a student's learning sequence represented as a binary string where 1s indicate successful module completions and 0s indicate unsuccessful attempts, determine how many unique learning patterns emerge as odd-valued numbers when rotating the sequence n times. Each rotation of the sequence represents a different perspective of the student's learning journey, and understanding these patterns helps in customizing their educational path.
    

    """
def odd_Equivalent(s, n):
    """
    Given a student's learning sequence represented as a binary string where 1s indicate successful module completions and 0s indicate unsuccessful attempts, determine how many unique learning patterns emerge as odd-valued numbers when rotating the sequence n times. Each rotation of the sequence represents a different perspective of the student's learning journey, and understanding these patterns helps in customizing their educational path.
    

    """
    count = 0
    for i in range(0, n):
        if s[i] == '1':
            count = count + 1
    return count