summaryrefslogtreecommitdiff
path: root/progs/a270.py
blob: 02c486c285defc64a829efd45b999b8f4f1764a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
def are_Rotations(string1,string2): 
    size1 = len(string1) 
    size2 = len(string2) 
    temp = '' 
    if size1 != size2: 
        return False
    temp = string1 + string1 
    if (temp.count(string2)> 0): 
        return True
    else: 
        return False