human
Write a python function to find the minimum number of rotations (greater than 0) required to get the same string. Here is a solution in Python: ... What is a Python program to find the minimum number of rotations (greater than 0) required to get the same string?
assistant
#Here is Python program to find the minimum number of rotations (greater than 0) required to get the same string.
 def find_Rotations(str): 
    tmp = str + str
    n = len(str) 
    for i in range(1,n + 1): 
        substring = tmp[i: i+n] 
        if (str == substring): 
            return i 
    return n