def rotations(T):
    """ This method returns a list of rotations for a string T"""
    ## Take twice the string then slide a window of len(string) 
    TT = T*2
    return [ TT[i:i+len(T)] for i in range(0, len(T))]